[FEA] Add kernel launch wrapper
Nobody has claimed this yet.
- Dominant language
- Cuda
- Stars
- 667
- Forks
- 120
- Avg merge
- 7d 5h
- Merged PRs (30d)
- 4
Description
Is your feature request related to a problem? Please describe.
Currently, we are adding early exits in all bulk functions to avoid launching kernels with 0 threads. This is laborious and should be done in a more systematic way.
Describe the solution you'd like
As mentioned in https://github.com/NVIDIA/cuCollections/pull/151#pullrequestreview-962008675, a kernel launch wrapper is desired to automate skipping kernel launches for 0 threads.
Contributor 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.
Research direction
Start by reviewing the bulk functions that currently add early exits for zero-thread launches, then read the discussion in pull request #151 referenced by the issue. Determine the wrapper's intended launch behavior and how it should be applied consistently. Done means zero-thread kernel launches are skipped systematically without requiring repeated per-function checks.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- hpc
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100