[openmp] Add amdgpu impl missed from D112153

This commit is contained in:
Jon Chesterfield
2021-10-28 00:54:29 +01:00
parent fb25496832
commit cf37a94c1e

View File

@@ -192,6 +192,7 @@ void syncWarp(__kmpc_impl_lanemask_t) {
}
void syncThreads() { __builtin_amdgcn_s_barrier(); }
void syncThreadsAligned() { syncThreads(); }
// TODO: Don't have wavefront lane locks. Possibly can't have them.
void unsetLock(omp_lock_t *) { __builtin_trap(); }