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 1cfebe6 commit e454e00Copy full SHA for e454e00
offload/DeviceRTL/src/Synchronization.cpp
@@ -398,6 +398,10 @@ void setLock(omp_lock_t *Lock) {
398
} // wait for 0 to be the read value
399
}
400
401
+void unsetCriticalLock(omp_lock_t *Lock) { unsetLock(Lock); }
402
+
403
+void setCriticalLock(omp_lock_t *Lock) { setLock(Lock); }
404
405
#pragma omp end declare variant
406
///}
407
0 commit comments