Add a "tips & tricks" page
Open
Nobody has claimed this yet.
cuda.core
documentation
- Dominant language
- Cython
- Stars
- 3.4k
- Forks
- 329
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 116
Description
- many cuda.core operations do not actually need an active CUDA context (aka a device that is set to current)
- some just need CUDA to be initialized, meaning
cuInit(0)is called (ex: querying device properties) - some do not even need CUDA initialized or driver/GPU to be present, if the options are passed correctly (ex: JIT compiling via
Program)
- some just need CUDA to be initialized, meaning
- cuda.core keeps the context stack size to be either 0 or 1
- ...
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 cuda.core behavior described in the issue, including context requirements, CUDA initialization, JIT compilation via Program, and context stack size. Done means adding a tips and tricks page that clearly documents these points and any remaining tips identified by the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100