Skip to content

Commit 4ab0e6b

Browse files
committed
250906.170643.CST [skip ci] revise flsrc
1 parent f7ad8a0 commit 4ab0e6b

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

fortran/tests/tools/flsrc

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,15 @@ if [[ -f "$LINALG" ]] ; then
1616
STR="Y is NaN if and only if X contains NaN"
1717
sed -i "/$STR/d" "$LINALG"
1818

19-
# With flang-new 20.1.8, matprod in linalg.f90 often fails to compute matrix multiplications
20-
# correctly, generating garbage values (NaN or numbers that are nearly zero). No idea why.
21-
# The following is a workaround the replaces matprod with the intrinsic matmul.
22-
# Remove this and test again when flang is updated.
23-
if [[ -f "$GET_INTRISIC_LINALG" ]] ; then
24-
bash "$GET_INTRISIC_LINALG"
25-
mv "$INTRINSIC_LINALG" "$LINALG"
26-
fi
19+
# # With flang-new 20.1.8, matprod in linalg.f90 often fails to compute matrix multiplications
20+
# # correctly, generating garbage values (NaN or numbers that are nearly zero). No idea why.
21+
# # The following is a workaround the replaces matprod with the intrinsic matmul.
22+
# # Remove this and test again when flang is updated.
23+
# Update 20250906: With flang-new 21.1.0, matprod seems to work fine now.
24+
# if [[ -f "$GET_INTRISIC_LINALG" ]] ; then
25+
# bash "$GET_INTRISIC_LINALG"
26+
# mv "$INTRINSIC_LINALG" "$LINALG"
27+
# fi
2728
fi
2829

2930
exit 0

0 commit comments

Comments
 (0)