[Libclc-dev] [PATCH 14/15] R600: Map address spaces for atomic_xchg

Aaron Watry awatry at gmail.com
Tue Sep 9 16:24:47 PDT 2014


Signed-off-by: Aaron Watry <awatry at gmail.com>
---
 r600/lib/atomic/atomic.cl | 1 +
 1 file changed, 1 insertion(+)

diff --git a/r600/lib/atomic/atomic.cl b/r600/lib/atomic/atomic.cl
index ab39d0f..53406f3 100644
--- a/r600/lib/atomic/atomic.cl
+++ b/r600/lib/atomic/atomic.cl
@@ -22,6 +22,7 @@ ATOMIC_FUNC(atomic_add)
 ATOMIC_FUNC(atomic_and)
 ATOMIC_FUNC(atomic_or)
 ATOMIC_FUNC(atomic_sub)
+ATOMIC_FUNC(atomic_xchg)
 ATOMIC_FUNC(atomic_xor)
 
 _CLC_DECL signed int __clc_atomic_max_addr1(volatile global signed int*, signed int);
-- 
1.9.1





More information about the Libclc-dev mailing list