summaryrefslogtreecommitdiff
path: root/libclc/r600/lib/synchronization/barrier.cl
diff options
context:
space:
mode:
Diffstat (limited to 'libclc/r600/lib/synchronization/barrier.cl')
-rw-r--r--libclc/r600/lib/synchronization/barrier.cl3
1 files changed, 1 insertions, 2 deletions
diff --git a/libclc/r600/lib/synchronization/barrier.cl b/libclc/r600/lib/synchronization/barrier.cl
index 98200e7eda92..6a28ee3201de 100644
--- a/libclc/r600/lib/synchronization/barrier.cl
+++ b/libclc/r600/lib/synchronization/barrier.cl
@@ -2,8 +2,7 @@
_CLC_DEF void __clc_r600_barrier(void) __asm("llvm.r600.group.barrier");
-_CLC_DEF void barrier(uint flags)
-{
+_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();
}