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 239f482 commit 3f70c93Copy full SHA for 3f70c93
clang/lib/Headers/gpuintrin.h
@@ -29,7 +29,7 @@
29
#include <nvptxintrin.h>
30
#elif defined(__AMDGPU__)
31
#include <amdgpuintrin.h>
32
-#else
+#elif !defined(_OPENMP)
33
#error "This header is only meant to be used on GPU architectures."
34
#endif
35
0 commit comments