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 3ee9a2b commit 73daeb3Copy full SHA for 73daeb3
clang/lib/Headers/__clang_cuda_runtime_wrapper.h
@@ -41,6 +41,7 @@
41
#include <cmath>
42
#include <cstdlib>
43
#include <stdlib.h>
44
+#include <string.h>
45
#undef __CUDACC__
46
47
// Preserve common macros that will be changed below by us or by CUDA
@@ -205,11 +206,6 @@ inline __host__ double __signbitd(double x) {
205
206
#endif
207
208
#if CUDA_VERSION >= 9000
-// CUDA-9.2 needs host-side memcpy for some host functions in
209
-// device_functions.hpp
210
-#if CUDA_VERSION >= 9020
211
-#include <string.h>
212
-#endif
213
#include "crt/math_functions.hpp"
214
#else
215
#include "math_functions.hpp"
0 commit comments