-
Notifications
You must be signed in to change notification settings - Fork 12
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
module support #10
Comments
Hi @uhoefel. As the error indicates, Changing that API would imply an API breakage, as it would need to move Which version of the JDK is that currently blocking you on? |
I use java 17:
and I use modules in my project. |
Hi @luhenry, I am working with @uhoefel and strongly support to migrate our codebase It would be awesome if there would be a Java package providing BLAS and LAPACK using the Java Vector API What do you think? |
@jonathanschilling I agree with your take. I will try to give it some time in the coming weeks. I also welcome any contribution, and would be very happy to integrate your changes to support module. I can then take care of updating its usage in Spark to match the change of API. Also, this package has a BLAS implementation using the Vector API at https://github.com/luhenry/netlib/blob/master/blas/src/main/java/dev/ludovic/netlib/blas/VectorBLAS.java. There isn't any LAPACK implementation since the surface is so much larger. The major performance blocker while using the Vector API was limitations in the register allocator which would lead to register spilling leading to not-optimal performance (max ~16Gflops vs ~22Gflops with OpenBLAS). Without this register spilling, the GEMM would be on-par performance wise between the Vector API and OpenBLAS/Intel MKL. |
This has been fixed with https://github.com/luhenry/netlib/releases/tag/v3.0.0 |
Thanks a lot for resolving this issue! 👍 |
…3.0.2 & breeze from 2.0 to 2.1.0 ### What changes were proposed in this pull request? The pr aim to > A.Upgrade dev.ludovic.netlib from 2.2.1 to 3.0.2 > B.Upgrade breeze from 2.0 to 2.1.0 FYI <img width="657" alt="image" src="https://user-images.githubusercontent.com/15246973/187114740-2af5f7fa-4297-410c-8276-d9dfba8af707.png"> ### Why are the changes needed? A.dev.ludovic.netlib > This version contain bug fix: > luhenry/netlib#12 > luhenry/netlib#10 > The changes between 2.2.1 and 3.0.2 as follows: > luhenry/netlib@v2.2.1...v3.0.2 B.breeze > The changes between 2.0 and 2.1.0 as follows: > scalanlp/breeze@releases/v2.0...releases/v2.1.0 ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Pass GA & exist UT. Closes #37700 from panbingkun/upgrade_netlib. Authored-by: panbingkun <pbk1982@gmail.com> Signed-off-by: Sean Owen <srowen@gmail.com>
Currently I get the following error trying to use both LAPACK and BLAS in my project:
The relevant piece from my
module-info
:(ARPACK is necessary for the intW type needed e.g. for dpotf2)
my
pom.xml
:I think this can be fixed by adding module support, which would also remove the warning coming with the packages at the moment:
The text was updated successfully, but these errors were encountered: