POWER: Fix issues in zscal to address lapack failures

This patch fixes following lapack failures with clang compiler on POWER.
zed.out: ZVX:   18 out of  5190 tests failed to pass the threshold
zgd.out: ZGV drivers:     25 out of   1092 tests failed to pass the threshold
zgd.out: ZGV drivers:      6 out of   1092 tests failed to pass the threshold
This commit is contained in:
Rajalakshmi Srinivasaraghavan 2024-05-22 08:00:06 -05:00
parent 700ea74a37
commit e112191b54
1 changed files with 4 additions and 0 deletions

View File

@ -38,6 +38,10 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#pragma GCC optimize "O1"
#if defined(__clang__)
#pragma clang fp contract(off)
#endif
#if defined(__VEC__) || defined(__ALTIVEC__)
#if defined(POWER8) || defined(POWER9)
#if defined(DOUBLE)