Skip to content
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

Some MKL methods skipped in javacpp-presets #1326

Closed
blueberry opened this issue Feb 22, 2023 · 6 comments
Closed

Some MKL methods skipped in javacpp-presets #1326

blueberry opened this issue Feb 22, 2023 · 6 comments
Labels

Comments

@blueberry
Copy link

I wanted to use cblas_saxpby and cblas_daxpby, but they are unavailable in JavaCPP's MKL presets.

I found out that they are explicitly excluded, by the following line:

.put(new Info("cblas_caxpby", "cblas_daxpby", "cblas_saxpby", "cblas_zaxpby", "mklfreetls", "MKLFREETLS", "MKLFreeTls",

Is this intentional, or just for compatibility with other BLAS/LAPACK implementations such as openblas? Can they be included in the next release?

There might be more useful MKL methods that are missing, but these two are what I had use for...

@saudet
Copy link
Member

saudet commented Feb 22, 2023 via email

@blueberry
Copy link
Author

blueberry commented Feb 22, 2023

Is this only missing in the C++ API? I have been calling it with no problems from the C api for years.

https://github.com/uncomplicate/neanderthal-native/blob/46e9f7fdd981dff4c90f3fe3f555007c944e4755/neanderthal-mkl/src/main/c/neanderthal.c#L1325

@blueberry
Copy link
Author

blueberry commented Feb 22, 2023

Now I'm confused, because in C, I put #include "mkl.h", then link to mkl_rt, and it works (MKL 2022.2, MKL from 2017 etc.)

Now, you probably know this better than I do, and I have a workaround for that particular function.

@saudet
Copy link
Member

saudet commented Feb 23, 2023

Well, I've removed them from the skip list in commit dabd151 and the builds are not failing, so I guess they must have fixed that at some point.

@saudet saudet added the bug label Feb 23, 2023
@blueberry
Copy link
Author

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants