NVIDIA / NVIDIA/raft

[TASK] Refactor & clean up templates in many sparse prims

Open
#147 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature request inactive-30d inactive-90d
Dominant language
Cuda
Stars
1k
Forks
251
Avg merge
1d 8h
Merged PRs (30d)
31

Description

There are many places in the sparse prims where templates could be cleaned up (and used). We had originally adopted using int for the row & column arrays in many of the prims because that's what cusparse & scipy were limited to using but we've since started using template types for those in many cuml algorithms (and more recent sparse prims) so it's time those get cleaned up.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue concerns templates across many sparse primitives, with newer templated patterns in cuML algorithms and sparse primitives as reference points. Start by locating the sparse primitives and comparing their row and column array types with those newer implementations. Done means consistently replacing the remaining fixed int index types where appropriate; no specific files or tests are named.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
data
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.