Commit c3bbbdb
committed
[libc] Make the RPC headers work when included from CUDA or HIP
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 2067e60 commit c3bbbdb
File tree
2 files changed
+131
-132
lines changed2 files changed
+131
-132
lines changed
0 commit comments