[Beignet] [PATCH 2/2] utests: increase local size in the two barrier test cases.
Zhigang Gong
zhigang.gong at linux.intel.com
Tue Jul 2 03:49:49 PDT 2013
Increasing the local size to 256 to bring more pressure
to barrier testing.
Signed-off-by: Zhigang Gong <zhigang.gong at linux.intel.com>
---
utests/compiler_global_memory_barrier.cpp | 2 +-
utests/compiler_local_memory_barrier_2.cpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/utests/compiler_global_memory_barrier.cpp b/utests/compiler_global_memory_barrier.cpp
index a6496a7..ea84e72 100644
--- a/utests/compiler_global_memory_barrier.cpp
+++ b/utests/compiler_global_memory_barrier.cpp
@@ -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);
diff --git a/utests/compiler_local_memory_barrier_2.cpp b/utests/compiler_local_memory_barrier_2.cpp
index b074123..4fa090b 100644
--- a/utests/compiler_local_memory_barrier_2.cpp
+++ b/utests/compiler_local_memory_barrier_2.cpp
@@ -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");
--
1.7.11.7
More information about the Beignet
mailing list