New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cblas_zdotc_sub returns incorrect results on ppc64le #2837
Comments
|
Not reproducible with current develop and gcc 8.4.0, gcc 9.3.0 or gcc 10.2.0 on Debian11 ppc64le. (Also not the problem it first reminded me of) |
Not reproduced with |
Definitely the switch to OPENBLAS_MAKE_COMPLEX_FLOAT in the PPC zdot.c that fixed this |
Yes (where the exclusion of the microkernel has nothing to do with this particular problem) |
Bug reported on Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=1878449
cblas_zdotc_sub
returns incorrect results on ppc64le on Fedora 32 and above (all with GCC 10.2.1). The correct result, however, is obtained on Fedora 31 (GCC 9.3.1).The test is the following: since
zdotc_sub(x,y) = conjugate(x) . y
, one should havezdotc_sub(y,x) = conjugate(zdotc_sub(x,y))
but this property is violated by the numerics.Test program from original report below
The text was updated successfully, but these errors were encountered: