[Beignet] [PATCH 4/6] Utest: Fix sub group shuffle for simd8
Xiuli Pan
xiuli.pan at intel.com
Fri Sep 2 08:50:50 UTC 2016
From: Pan Xiuli <xiuli.pan at intel.com>
In simd8 mode, subgroup size is 8 we should use some index less than 8.
Signed-off-by: Pan Xiuli <xiuli.pan at intel.com>
---
utests/compiler_sub_group_shuffle_up.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/utests/compiler_sub_group_shuffle_up.cpp b/utests/compiler_sub_group_shuffle_up.cpp
index 6c32ca4..d2e054b 100644
--- a/utests/compiler_sub_group_shuffle_up.cpp
+++ b/utests/compiler_sub_group_shuffle_up.cpp
@@ -12,7 +12,7 @@ void compiler_sub_group_shuffle_up(void)
OCL_CREATE_BUFFER(buf[0], 0, buf_size * sizeof(int), NULL);
OCL_SET_ARG(0, sizeof(cl_mem), &buf[0]);
- int c = 13;
+ int c = 3;
OCL_SET_ARG(1, sizeof(int), &c);
globals[0] = n;
--
2.7.4
More information about the Beignet
mailing list