Skip to content

Is block-spmm supported? #1737

Answered by maleadt
mzy2240 asked this question in Q&A
Discussion options

You must be logged in to vote

Please don't use the issue tracker for questions.


In general, all library APIs are supported, the question is at what level:

  • C wrappers: functions like cusparseSpMM can always be called directly, as CUDA.jl exposes the library's C APIs:
    @cenum cusparseSpMMAlg_t::UInt32 begin
    CUSPARSE_MM_ALG_DEFAULT = 0
    CUSPARSE_COOMM_ALG1 = 1
    CUSPARSE_COOMM_ALG2 = 2
    CUSPARSE_COOMM_ALG3 = 3
    CUSPARSE_CSRMM_ALG1 = 4
    CUSPARSE_SPMM_ALG_DEFAULT = 0
    CUSPARSE_SPMM_COO_ALG1 = 1
    CUSPARSE_SPMM_COO_ALG2 = 2
    CUSPARSE_SPMM_COO_ALG3 = 3
    CUSPARSE_SPMM_COO_ALG4 = 5
    CUSPARSE_SPMM_CSR_ALG1 = 4

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mzy2240
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1736 on January 20, 2023 12:40.