From 3682106eb0623b5d122d7312d0d0e93e604e55f9 Mon Sep 17 00:00:00 2001 From: arlo-phoenix Date: Sat, 5 Aug 2023 02:12:14 +0200 Subject: [PATCH] Algo-Direct2.h: fix hipcc issue from https://github.com/agrocylo/bitsandbytes-rocm, thanks --- include/Algo-Direct2.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/include/Algo-Direct2.h b/include/Algo-Direct2.h index d5fa58d..f9387e5 100644 --- a/include/Algo-Direct2.h +++ b/include/Algo-Direct2.h @@ -93,8 +93,8 @@ private: __m128 vxp = _mm_shuffle_ps(xp01, xp23, (1) + (3 << 2) + (1 << 4) + (3 << 6)); #endif IVec i(u.vec); - IVec vlem = vz < vxm; - IVec vlep = vz < vxp; + IVec vlem = operator< (vz,vxm); + IVec vlep = operator< (vz,vxp); i = i + vlem + vlep; i.store(pr); } @@ -123,8 +123,8 @@ private: __m128d vxp = _mm_shuffle_pd(vx0, vx1, 3); IVec i(b1, b0); - IVec vlem = (vz < vxm); - IVec vlep = (vz < vxp); + IVec vlem = operator< (vz, vxm); + IVec vlep = operator< (vz, vxp); i = i + vlem + vlep; union { @@ -227,8 +227,8 @@ private: #endif - IVec vlem = vz < vxm; - IVec vlep = vz < vxp; + IVec vlem = operator< (vz, vxm); + IVec vlep = operator< (vz, vxp); ip = ip + vlem + vlep; ip.store(pr); @@ -277,8 +277,8 @@ private: // FVec vxp = _mm256_insertf128_pd(_mm256_castpd128_pd256(h01p), h23p, 1); IVec i(u.vec); - IVec vlem = vz < vxm; - IVec vlep = vz < vxp; + IVec vlem = operator< (vz,vxm); + IVec vlep = operator< (vz,vxp); i = i + vlem + vlep; i.extractLo32s().store(pr); }