diff options
author | Zhigang Gong <zhigang.gong@linux.intel.com> | 2013-07-02 18:44:19 +0800 |
---|---|---|
committer | Zhigang Gong <zhigang.gong@linux.intel.com> | 2013-07-03 18:19:35 +0800 |
commit | 942f9f9277b5c22723734883989eb676b4ab3d0b (patch) | |
tree | 327054cb39c451cd32a3b0b63633cb24a61c4df7 /utests | |
parent | 507671f5b2e5b53fffe0da5ba10d5d0a7d7f42aa (diff) | |
download | beignet-942f9f9277b5c22723734883989eb676b4ab3d0b.tar.gz |
utests: increase local size in the two barrier test cases.
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>
Diffstat (limited to 'utests')
-rw-r--r-- | utests/compiler_global_memory_barrier.cpp | 2 | ||||
-rw-r--r-- | 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 a6496a78..ea84e724 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 b074123f..4fa090b6 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"); |