Skip to content

Commit 114eb15

Browse files
authored
Disable FMA intrinsics in the srot kernel when the compiler is PGI/NVIDIA
1 parent b37e5fa commit 114eb15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/x86_64/srot.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ static void srot_kernel(BLASLONG n, FLOAT *x, FLOAT *y, FLOAT c, FLOAT s)
1313
{
1414
BLASLONG i = 0;
1515

16-
#if V_SIMD && (defined(HAVE_FMA3) || V_SIMD > 128)
16+
#if V_SIMD && !defined(C_PGI) && (defined(HAVE_FMA3) || V_SIMD > 128)
1717
const int vstep = v_nlanes_f32;
1818
const int unrollx4 = n & (-vstep * 4);
1919
const int unrollx = n & -vstep;

0 commit comments

Comments
 (0)