Update outdated workaround for `cusparseSpMV`
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
- Issue type
- Refactor
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- cpp
- Domain
- performance
Research direction
Start at cpp/include/raft/spectral/detail/matrix_wrappers.hpp around lines 203-214, then search the repository for other cusparseSpMV usages. Compare each call with the CUDA 12 cusparseSpMV documentation and verify that the workaround is consistently updated without breaking the relevant CUDA builds.
Written by the indexing model from the issue text.
Description
There is a note in the code that says const needed to be dropped when working with cusparseSpMV in CUDA 11
Looking at the CUDA 12 docs for cusparseSpMV, it appears everything is marked const
Given this could we now use const here and anywhere else using cusparseSpMV?
Note: This originally came up in issue ( https://github.com/rapidsai/raft/issues/2741 ). However it is a bit more nuanced than the other cleanup items in that issue. So have broken it out
- Dominant language
- Cuda
- Stars
- 1.1k
- Forks
- 260
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 21
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from NVIDIA/raft
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
[BUG] Half-precision gemm fails with CUBLAS_STATUS_NOT_SUPPORTED when A or B is not 16-byte alignedOpenbug
Difficulty 4/5 3-5 days Newbie friendliness 55/100
Maintainers usually reply within 1 day
-
[BUG] A column with one infinity sums to NaN in `raft::stats::sum`Possibly taken @galleonli claimed this 4 days ago. Open
Difficulty 3/5 1-2 days Newbie friendliness 45/100
Maintainers usually reply within 1 day
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 48/100
Maintainers usually reply within 1 day
-
[FEA] Return centers generated by raft::random::make_blobsPossibly taken @NIne-WIngEd claimed this 36 days ago. Open
Difficulty 4/5 3-5 days Newbie friendliness 53/100
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
keystonejs/keystone#10143 ·
Maintainers usually reply within 1 day
-
area:server kind:perf priority:p2 ready
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
HXsetdir strdup leakOpen
Difficulty 1/5 1-3 hours Newbie friendliness 82/100
-
good first issue verify
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
miss-mercury-studio/hgCOMMLINK#51 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
NVIDIA/physicsnemo#2354 ·
Maintainers usually reply within 2 days