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

Does STRUMPACK support the 'long double' data type? #110

Open
omgoooood opened this issue Dec 8, 2023 · 1 comment
Open

Does STRUMPACK support the 'long double' data type? #110

omgoooood opened this issue Dec 8, 2023 · 1 comment

Comments

@omgoooood
Copy link

No description provided.

@pghysels
Copy link
Owner

pghysels commented Dec 8, 2023

Unfortunately not.
Everything in STRUMPACK is templated on the scalar type, which can be float, double, std::complex<float> or std::complex<double>. These are the types supported by BLAS and LAPACK (and cuBLAS, cuSOLVER, MAGMA, ScaLAPACK, ...).
It would be possible in theory to add support for long double, but we'd need to implement certain BLAS and LAPACK routines in long double. This would be a lot of work, and performance will likely be poor.

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

2 participants