utests: increase local size in the two barrier test cases.
authorZhigang Gong <zhigang.gong@linux.intel.com>
Tue, 2 Jul 2013 10:44:19 +0000 (18:44 +0800)
committerZhigang Gong <zhigang.gong@linux.intel.com>
Wed, 3 Jul 2013 10:19:35 +0000 (18:19 +0800)
Increasing the local size to 256 to bring more pressure
to barrier testing.

Signed-off-by: Zhigang Gong <zhigang.gong@linux.intel.com>
Reviewed-by: Zou, Nanhai <nanhai.zou@intel.com>
Reviewed-by: Yang, Rong R <rong.r.yang@intel.com>
Tested-by: Sun, Yi <yi.sun@intel.com>
utests/compiler_global_memory_barrier.cpp
utests/compiler_local_memory_barrier_2.cpp

index a6496a7..ea84e72 100644 (file)
@@ -13,7 +13,7 @@ static void compiler_global_memory_barrier(void)
 
   // Run the kernel
   globals[0] = n/2;
-  locals[0] = 32;
+  locals[0] = 256;
   OCL_NDRANGE(1);
   OCL_MAP_BUFFER(0);
 
index b074123..4fa090b 100644 (file)
@@ -5,7 +5,7 @@ static void compiler_local_memory_barrier_2(void)
   const size_t n = 16*1024;
 
   globals[0] = n/2;
-  locals[0] = 32;
+  locals[0] = 256;
 
   // Setup kernel and buffers
   OCL_CREATE_KERNEL("compiler_local_memory_barrier_2");