NVIDIA / NVIDIA/cuCollections

[FEA] Add kernel launch wrapper

Open
#152 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

good first issue P2: Nice to have type: feature request
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

Open the contributing guide

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.