diff options
author | Joseph Huber <huberjn@outlook.com> | 2024-12-16 09:09:03 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-16 09:09:03 -0600 |
commit | 9cb68b4ddad84f8c1f3a96ca3304d9916f3ee7da (patch) | |
tree | da2d97feea945cd292a4e5ecc8d2d2bdcf0941ee /clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp | |
parent | cedc9bf94a6c40561c4ecb292126352d49c9129b (diff) | |
download | llvm-9cb68b4ddad84f8c1f3a96ca3304d9916f3ee7da.zip llvm-9cb68b4ddad84f8c1f3a96ca3304d9916f3ee7da.tar.gz llvm-9cb68b4ddad84f8c1f3a96ca3304d9916f3ee7da.tar.bz2 |
[libc] Make the RPC headers work when included from CUDA or HIP (#120016)
Summary:
In order for this to work with CUDA we need to declare functions as
__host__ and __device__ while also making sure we only call the GPU
functions during the CUDA / HIP compile stage.
Diffstat (limited to 'clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp')
0 files changed, 0 insertions, 0 deletions