File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed
Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff 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
2728fi
2829
2930exit 0
You can’t perform that action at this time.
0 commit comments