From 207ce9b853bd6f7294a445ab9d0e3b1a604e7736 Mon Sep 17 00:00:00 2001 From: jsteube Date: Wed, 20 Sep 2017 23:00:00 +0200 Subject: [PATCH] all() function is not working as expected in scalar datatype case --- OpenCL/inc_simd.cl | 6 ------ 1 file changed, 6 deletions(-) diff --git a/OpenCL/inc_simd.cl b/OpenCL/inc_simd.cl index 25eca0fbc..d5a48dea5 100644 --- a/OpenCL/inc_simd.cl +++ b/OpenCL/inc_simd.cl @@ -1043,14 +1043,8 @@ #endif -#ifdef IS_CPU -// CPU seem to have a bit more advanced vector comparison functions (on XOP/AVX2) -#define MATCHES_NONE_VV(a,b) all ((a) != (b)) -#define MATCHES_NONE_VS(a,b) all ((a) != (b)) -#else #define MATCHES_NONE_VV(a,b) !(MATCHES_ONE_VV ((a), (b))) #define MATCHES_NONE_VS(a,b) !(MATCHES_ONE_VS ((a), (b))) -#endif // attack-mode 0