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 860b6ed commit 99335a6Copy full SHA for 99335a6
openmp/libomptarget/DeviceRTL/src/State.cpp
@@ -426,6 +426,8 @@ int omp_get_num_teams(void) { return mapping::getNumberOfBlocksInKernel(); }
426
int omp_get_team_num() { return mapping::getBlockIdInKernel(); }
427
428
int omp_get_initial_device(void) { return -1; }
429
+
430
+int omp_is_initial_device(void) { return 0; }
431
}
432
433
extern "C" {
0 commit comments