bolt/deps/llvm-18.1.8/libclc/r600/lib/synchronization/barrier.cl

9 lines
249 B
Common Lisp
Raw Normal View History

2025-02-14 19:21:04 +01:00
#include <clc/clc.h>
_CLC_DEF void __clc_r600_barrier(void) __asm("llvm.r600.group.barrier");
_CLC_DEF _CLC_OVERLOAD void barrier(uint flags) {
// We should call mem_fence here, but that is not implemented for r600 yet
__clc_r600_barrier();
}