Browse Source

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
tags/v0.3.28^2
Rajalakshmi Srinivasaraghavan 2 years ago
parent
commit
e112191b54
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      kernel/power/zscal.c

+ 4
- 0
kernel/power/zscal.c 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)


Loading…
Cancel
Save