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 9269752 commit f3eb5f9Copy full SHA for f3eb5f9
clang/lib/Headers/openmp_wrappers/__clang_openmp_device_functions.h
@@ -35,6 +35,7 @@ extern "C" {
35
36
#pragma omp end declare variant
37
38
+#ifdef __AMDGCN__
39
#pragma omp begin declare variant match(device = {arch(amdgcn)})
40
41
// Import types which will be used by __clang_hip_libdevice_declares.h
@@ -54,6 +55,7 @@ extern "C" {
54
55
#undef __OPENMP_AMDGCN__
56
57
58
+#endif
59
60
#ifdef __cplusplus
61
} // extern "C"
0 commit comments