Address known thread-safety issues in `cuda.core`/look into `call_once` pattern
Open
@seberg is already working on this.
Since Aug 28, 2026.
cuda.core
enhancement
- Dominant language
- Cython
- Stars
- 3.4k
- Forks
- 329
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 116
Description
In general,
cuda.corehas a few internal, module-level states that should be guarded by a lock. We haven't done that extensively.
Originally posted by @leofang in https://github.com/NVIDIA/cuda-python/pull/1364#discussion_r2624683212
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.
Assessment
This issue has not been assessed yet.