llvm-project/libclc/amdgcn/lib/synchronization/barrier.cl

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
140 B
Common Lisp
Raw Normal View History

#include <clc/clc.h>
_CLC_DEF _CLC_OVERLOAD void barrier(cl_mem_fence_flags flags) {
mem_fence(flags);
__builtin_amdgcn_s_barrier();
}