mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-24 06:06:05 +00:00

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.