Skip to content

SpGEMM: cusparse algorithm selection#3060

Open
brian-kelley wants to merge 1 commit intokokkos:developfrom
brian-kelley:CusparseSpgemmAlgos
Open

SpGEMM: cusparse algorithm selection#3060
brian-kelley wants to merge 1 commit intokokkos:developfrom
brian-kelley:CusparseSpgemmAlgos

Conversation

@brian-kelley
Copy link
Copy Markdown
Contributor

Allow for specifying cusparse algorithms for reuse and non-reuse. The user's choice is checked to make sure it's supported and not deprecated in the current cusparse version.

This PR adds these new values for KokkosSparse::SPGEMMAlgorithm.
SpGEMMreuse algos (until CUDA 13.2.1):

SPGEMM_CUSPARSE_DETERMINISTIC
SPGEMM_CUSPARSE_NONDETERMINISTIC

SpGEMM algos (spgemm without a handle since CUDA 12.0.1, and spgemm with a handle since CUDA 13.2.1):

SPGEMM_CUSPARSE_ALG1
SPGEMM_CUSPARSE_ALG2
SPGEMM_CUSPARSE_ALG3

Adds feature requested in #2445.

Allow for specifying cusparse algorithms for reuse and non-reuse.
The user's choice is checked to make sure it's supported and not
deprecated in the current cusparse version.

Signed-off-by: Brian Kelley <bmkelle@sandia.gov>
@brian-kelley brian-kelley requested a review from lucbv May 5, 2026 17:57
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

Successfully merging this pull request may close these issues.

1 participant