[FEA]: `cuda-core-example hello_world` (or similar)
Nobody has claimed this yet.
- Dominant language
- Cython
- Stars
- 3.4k
- Forks
- 329
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 116
Description
Area
cuda.core
Is your feature request related to a problem? Please describe.
Include (some) examples in the released cuda-core wheels and make them easily runnable.
Useful also for quick smoke checks after making new releases.
Describe the solution you'd like
There are two very common, low-friction patterns for shipping runnable examples in wheels:
-
a tiny "runner" module so users can do
python -m cuda.core.run_example hello_world, and -
a console_scripts entry point so they can also do
cuda-core-example hello_world.
It seems easy to support both. Here are concrete suggestions that may be useful as a starting point:
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 locating the cuda.core example package and the wheel and console-entry-point configuration. Check how a released wheel could expose examples through both python -m cuda.core.run_example hello_world and cuda-core-example hello_world; done means both commands run the selected example after installation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli, release
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100