Skip to content

Commit 9cb68b4

Browse files
authored
[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.
1 parent cedc9bf commit 9cb68b4

File tree

2 files changed

+131
-132
lines changed

2 files changed

+131
-132
lines changed

0 commit comments

Comments
 (0)