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

Investigate 64 bit compatibility #1

Open
ptoffy opened this issue Jan 15, 2025 · 0 comments
Open

Investigate 64 bit compatibility #1

ptoffy opened this issue Jan 15, 2025 · 0 comments

Comments

@ptoffy
Copy link
Member

ptoffy commented Jan 15, 2025

Right now the library uses the native representation of integers of each of the sub-libraries, so 32 bit for BLAS and LAPACK and 64 bit for Accelerate's vDSP functions. This is somewhat of a problem because we can't use BLAS/LAPACK to implement vDSP and are missing out on some performance gains due to having to implement them manually (e.g. https://github.com/brokenhandsio/accelerate-linux/blob/main/Sources/AccelerateLinux/VectorOps/VectorBasicOps.swift#L255). We should activate OPENBLAS_USE64BITINT (for BLAS) and LAPACK_ILP64 (LAPACK) to use 64 bit integers in those libraries too

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

No branches or pull requests

1 participant