diff options
author | Pan Xiuli <xiuli.pan@intel.com> | 2016-09-02 16:50:50 +0800 |
---|---|---|
committer | Yang Rong <rong.r.yang@intel.com> | 2016-09-05 14:59:49 +0800 |
commit | e80aac0df87b8c260595454cfb35a9db26680ff4 (patch) | |
tree | 61866efde5a1879db9b4d5293f1b85bf0b3710e6 /utests | |
parent | 2231fc0e3ef0bd2ecbfe1a9e6ec35f052a1f8cf0 (diff) | |
download | beignet-e80aac0df87b8c260595454cfb35a9db26680ff4.tar.gz |
Utest: Fix sub group shuffle for simd8
In simd8 mode, subgroup size is 8 we should use some index less than 8.
Signed-off-by: Pan Xiuli <xiuli.pan@intel.com>
Reviewed-by: Yang Rong <rong.r.yang@intel.com>
Diffstat (limited to 'utests')
-rw-r--r-- | utests/compiler_sub_group_shuffle_up.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utests/compiler_sub_group_shuffle_up.cpp b/utests/compiler_sub_group_shuffle_up.cpp index 6c32ca43..d2e054b6 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; |