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

Sparse mat-vec: Remove optimizations for multiple right-hand sides by default #30

Open
mhoemmen opened this issue May 8, 2017 · 1 comment
Assignees

Comments

@mhoemmen
Copy link
Contributor

mhoemmen commented May 8, 2017

Or at least have a CMake option to disable them. A large customer really does not care about multiple right-hand sides, and is starting to hit the 4GB linker limit for debug builds.

@crtrott already has a macro for this, so this should just be a matter of adding a CMake option to define or undefine the macro, then testing with both options.

@mhoemmen mhoemmen self-assigned this May 8, 2017
@mhoemmen
Copy link
Contributor Author

mhoemmen commented May 9, 2017

See lines 932-1021 of kokkos-kernels/src/impl/Kokkos_Sparse_impl_spmv.hpp. I would like to make this a separate option from KOKKOS_FAST_COMPILE. Special cases (e.g., alpha and beta) for single-vector sparse matrix-vector multiply still need to be fast. I just want to avoid building all the multiple-right-hand side cases.

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