We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e1e943 commit f647cceCopy full SHA for f647cce
1 file changed
include/plssvm/backends/stdpar/detail/utility.hpp
@@ -20,7 +20,9 @@
20
21
#include "sycl/sycl.hpp" // ::sycl::device
22
#elif defined(PLSSVM_STDPAR_BACKEND_HAS_NVHPC)
23
- #include "cuda_runtime_api.h"
+ #if defined(PLSSVM_STDPAR_BACKEND_NVHPC_GPU)
24
+ #include "cuda_runtime_api.h"
25
+ #endif
26
27
#include <cuda/atomic> // cuda::atomic_ref, cuda::thread_scope_device
28
#elif defined(PLSSVM_STDPAR_BACKEND_HAS_HIPSTDPAR)
0 commit comments