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 7c832fc commit 33d779dCopy full SHA for 33d779d
openmp/runtime/src/kmp_ftn_entry.h
@@ -1569,7 +1569,7 @@ int FTN_STDCALL KMP_EXPAND_NAME(FTN_GET_DEVICE_FROM_UID)(const char *device_uid)
1569
int FTN_STDCALL
1570
KMP_EXPAND_NAME(FTN_GET_DEVICE_FROM_UID)(const char *device_uid) {
1571
#if KMP_OS_DARWIN || KMP_OS_WASI || defined(KMP_STUB)
1572
- return omp_invalid_device;
+ return -2; // omp_invalid_device, see definition in omp.h
1573
#else
1574
int (*fptr)(const char *);
1575
if ((*(void **)(&fptr) = KMP_DLSYM_NEXT("omp_get_device_from_uid")))
0 commit comments