[Piglit] [PATCH 1/2] CL: Add atomic_add/inc uint threaded tests
Aaron Watry
awatry at gmail.com
Wed Sep 4 15:23:25 PDT 2013
---
tests/cl/program/execute/builtin/atomic/atomic_add-local.cl | 9 +++++++++
tests/cl/program/execute/builtin/atomic/atomic_inc-local.cl | 9 +++++++++
2 files changed, 18 insertions(+)
diff --git a/tests/cl/program/execute/builtin/atomic/atomic_add-local.cl b/tests/cl/program/execute/builtin/atomic/atomic_add-local.cl
index 3a30005..c155fbb 100644
--- a/tests/cl/program/execute/builtin/atomic/atomic_add-local.cl
+++ b/tests/cl/program/execute/builtin/atomic/atomic_add-local.cl
@@ -34,6 +34,15 @@ local_size: 8 0 0
arg_out: 0 buffer int[1] 28
arg_in: 1 buffer int[1] NULL
+[test]
+name: threads
+kernel_name: threads_uint
+dimensions: 1
+global_size: 8 0 0
+local_size: 8 0 0
+arg_out: 0 buffer uint[1] 28
+arg_in: 1 buffer uint[1] NULL
+
!*/
#define SIMPLE_TEST(TYPE) \
diff --git a/tests/cl/program/execute/builtin/atomic/atomic_inc-local.cl b/tests/cl/program/execute/builtin/atomic/atomic_inc-local.cl
index ba7e7a0..d51b4b7 100644
--- a/tests/cl/program/execute/builtin/atomic/atomic_inc-local.cl
+++ b/tests/cl/program/execute/builtin/atomic/atomic_inc-local.cl
@@ -32,6 +32,15 @@ local_size: 8 0 0
arg_out: 0 buffer int[1] 8
arg_in: 1 buffer int[1] NULL
+[test]
+name: threads
+kernel_name: threads_uint
+dimensions: 1
+global_size: 8 0 0
+local_size: 8 0 0
+arg_out: 0 buffer uint[1] 8
+arg_in: 1 buffer uint[1] NULL
+
!*/
#define SIMPLE_TEST(TYPE) \
--
1.8.1.2
More information about the Piglit
mailing list