We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6062500 commit 2c0dad3Copy full SHA for 2c0dad3
include/xsf/config.h
@@ -108,7 +108,7 @@ XSF_HOST_DEVICE inline bool signbit(double x) { return cuda::std::signbit(x); }
108
XSF_HOST_DEVICE inline double hypot(double x, double y) { return cuda::std::hypot(x, y); }
109
110
// Fallback to global namespace for functions unsupported on NVRTC
111
-#ifndef _LIBCUDACXX_COMPILER_NVRTC
+#ifndef __CUDACC_RTC__
112
XSF_HOST_DEVICE inline double ceil(double x) { return cuda::std::ceil(x); }
113
XSF_HOST_DEVICE inline double floor(double x) { return cuda::std::floor(x); }
114
XSF_HOST_DEVICE inline double round(double x) { return cuda::std::round(x); }
0 commit comments