Skip to content

Commit 3bbd53c

Browse files
authored
[libc] Remove old RPC host call extension for GPU (#120800)
Summary: This was originally a hacked together function that served to just implement some features for OpenMP. That has been moved into OpenMP itself now that we have exported RPC properly. This can now be deleted.
1 parent 4451431 commit 3bbd53c

File tree

6 files changed

+0
-61
lines changed

6 files changed

+0
-61
lines changed

libc/config/gpu/entrypoints.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -271,9 +271,6 @@ set(TARGET_LIBC_ENTRYPOINTS
271271
libc.src.locale.newlocale
272272
libc.src.locale.setlocale
273273
libc.src.locale.uselocale
274-
275-
# gpu/rpc.h entrypoints
276-
libc.src.gpu.rpc_host_call
277274
)
278275

279276
set(TARGET_LIBM_ENTRYPOINTS

libc/config/gpu/headers.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,4 @@ set(TARGET_PUBLIC_HEADERS
1818
libc.include.uchar
1919
libc.include.features
2020
libc.include.locale
21-
22-
# Header for RPC extensions
23-
libc.include.gpu_rpc
2421
)

libc/hdrgen/yaml/gpu/rpc.yaml

Lines changed: 0 additions & 23 deletions
This file was deleted.

libc/include/CMakeLists.txt

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -750,19 +750,6 @@ add_header_macro(
750750
.llvm-libc-types.struct_lconv
751751
)
752752

753-
if(LIBC_TARGET_OS_IS_GPU)
754-
file(MAKE_DIRECTORY ${LIBC_INCLUDE_DIR}/gpu)
755-
756-
add_header_macro(
757-
gpu_rpc
758-
../libc/hdrgen/yaml/gpu/rpc.yaml
759-
gpu/rpc.h.def
760-
gpu/rpc.h
761-
DEPENDS
762-
.llvm_libc_common_h
763-
)
764-
endif()
765-
766753
if(NOT LLVM_LIBC_FULL_BUILD)
767754
# We don't install headers in non-fullbuild mode.
768755
return()

libc/include/gpu/rpc.h.def

Lines changed: 0 additions & 18 deletions
This file was deleted.

libc/src/__support/RPC/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,5 @@ add_object_library(
99
HDRS
1010
rpc_client.h
1111
DEPENDS
12-
libc.include.gpu_rpc
1312
libc.src.__support.GPU.utils
1413
)

0 commit comments

Comments
 (0)