Merge pull request #4704 from amritahs-ibm/saxpy_perf_fix

Fix regression SAXPY when compiler with OpenXL compiler.
This commit is contained in:
Martin Kroeker 2024-05-18 19:11:25 +02:00 committed by GitHub
commit aa259b141d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -76,6 +76,9 @@ int CNAME(BLASLONG n, BLASLONG dummy0, BLASLONG dummy1, FLOAT da, FLOAT *x, BLAS
saxpy_kernel_64(n1, &x[i], &y[i], da);
i += n1;
#if defined(__clang__)
#pragma clang loop interleave_count(2)
#endif
while(i < n)
{