Skip to content

[libc] Remove old RPC host call extension for GPU #120800

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions libc/config/gpu/entrypoints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -271,9 +271,6 @@ set(TARGET_LIBC_ENTRYPOINTS
libc.src.locale.newlocale
libc.src.locale.setlocale
libc.src.locale.uselocale

# gpu/rpc.h entrypoints
libc.src.gpu.rpc_host_call
)

set(TARGET_LIBM_ENTRYPOINTS
Expand Down
3 changes: 0 additions & 3 deletions libc/config/gpu/headers.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,4 @@ set(TARGET_PUBLIC_HEADERS
libc.include.uchar
libc.include.features
libc.include.locale

# Header for RPC extensions
libc.include.gpu_rpc
)
23 changes: 0 additions & 23 deletions libc/hdrgen/yaml/gpu/rpc.yaml

This file was deleted.

13 changes: 0 additions & 13 deletions libc/include/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -750,19 +750,6 @@ add_header_macro(
.llvm-libc-types.struct_lconv
)

if(LIBC_TARGET_OS_IS_GPU)
file(MAKE_DIRECTORY ${LIBC_INCLUDE_DIR}/gpu)

add_header_macro(
gpu_rpc
../libc/hdrgen/yaml/gpu/rpc.yaml
gpu/rpc.h.def
gpu/rpc.h
DEPENDS
.llvm_libc_common_h
)
endif()

if(NOT LLVM_LIBC_FULL_BUILD)
# We don't install headers in non-fullbuild mode.
return()
Expand Down
18 changes: 0 additions & 18 deletions libc/include/gpu/rpc.h.def

This file was deleted.

1 change: 0 additions & 1 deletion libc/src/__support/RPC/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,5 @@ add_object_library(
HDRS
rpc_client.h
DEPENDS
libc.include.gpu_rpc
libc.src.__support.GPU.utils
)
Loading