Signed-off-by: Guo Yejun <[email protected]>
---
 kernels/compiler_simd_any.cl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernels/compiler_simd_any.cl b/kernels/compiler_simd_any.cl
index 6cc287f..3b04f82 100644
--- a/kernels/compiler_simd_any.cl
+++ b/kernels/compiler_simd_any.cl
@@ -3,7 +3,7 @@ __kernel void compiler_simd_any(global int *src, global int 
*dst)
   int i = get_global_id(0);
 
   if (i % 2 == 1) {
-    if (__gen_ocl_simd_any(src[i] == 5))
+    if (__gen_ocl_simd_any(src[i] == 5) || __gen_ocl_simd_any(src[i] == 9))
       dst[i] = 1;
     else if (__gen_ocl_simd_any(src[i] == 6))
       dst[i] = 0;
-- 
1.8.3.2

_______________________________________________
Beignet mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/beignet

Reply via email to