summaryrefslogtreecommitdiff
path: root/libclc/r600/lib/synchronization/barrier.cl
blob: 98200e7eda92e8b52a7890a82394dc7c997e904d (plain)
1
2
3
4
5
6
7
8
9
#include <clc/clc.h>

_CLC_DEF void __clc_r600_barrier(void) __asm("llvm.r600.group.barrier");

_CLC_DEF void barrier(uint flags)
{
  // We should call mem_fence here, but that is not implemented for r600 yet
  __clc_r600_barrier();
}