We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d4e6e40 commit 006cd37Copy full SHA for 006cd37
openmp/libomptarget/test/api/ompx_3d.c
@@ -22,7 +22,7 @@ void foo(int device) {
22
}
23
24
int isGPU() { return 0; }
25
-#pragma omp declare variant(isGPU) match(device = {arch(gpu)})
+#pragma omp declare variant(isGPU) match(device = {kind(gpu)})
26
int isGPUvariant() { return 1; }
27
28
int defaultIsGPU() {
openmp/libomptarget/test/api/ompx_3d.cpp
0 commit comments