-
Notifications
You must be signed in to change notification settings - Fork 70
Bug in Backend.OpenBLAS.fs #11
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
Comments
Hi! Thank you for reporting this. I will look into it and let you know. |
Ok, if you look deeper into the OpenBLAS module then there is (maybe?) another issue.
|
I've checked into that and currently there is a bug in the latest release of OpenBLAS that prevents the LAPACKE function from being used in row major format. I've worked around that by adding manual transposes and solved these issues in the latest pull request. |
It is bug in LAPACKE, you can check with generic LAPACK 3.6.0 |
I can confirm that the bugs you pointed out in |
Regarding @grek142's mention of another issue about LAPACK row- and column-major order: I do not see any bug related with that. .NET arrays are stored in memory using row-major order and the library will continue using these. We are aware of LAPACK's way of working with matrices and we designed our wrapper code paying attention to this. To make sure that we have a better way of catching similar bugs in future, I have now implemented unit tests for the backend interface. Everything with the OpenBLAS backend seems to be working fine, including operations that depend on LAPACK, such as If you encounter a bug where any operation gives incorrect result, please do let us know by opening a separate issue for that, showing a minimal example producing incorrect output. Also, I have not experienced any unexpected behavior with the LAPACK implementation in OpenBLAS. |
Ok, thank You. As You said this was just a mention not really a bug in the library. |
Thank you. :) |
Hallo,
At first congratulations to this library, but I've found two little bugs in module LAPACK in function ssysv and dsysv, which make these functions useless.
You must correct line 487 from: use arg_b = new PinnedArray(b)
to use arg_b = new PinnedArray(b')
and similar (variable b -> b') in line 580.
Enrico
The text was updated successfully, but these errors were encountered: