cuda-python
cuda-python copied to clipboard
CUDA Python: Performance meets Productivity
We have them in the bindings: - driver: https://nvidia.github.io/cuda-python/cuda-bindings/latest/module/driver.html#occupancy - runtime: https://nvidia.github.io/cuda-python/cuda-bindings/latest/module/runtime.html#occupancy and this issue is about cuda.core exposure.
Sounds like a good idea to - move the lifetime-related changes to another PR - ensure **both** driver/runtime Python layers have the lifetime management for callbacks - ensure **both** driver/runtime...
This is the ABC class that all concrete cache classes should inherit/overwrite: ```python class ProgramCacheResource(abc.ABC): @abc.abstractmethod def __getitem__(self, key: Any) -> Module: """Retrieve the cached Module instance. key should be...
Two kinds of on-disk caches: - one for sqlite3 based (suitable for single processes) - one for file-stream based (suitable for concurrent processes, thanks to atomic I/O) It is unclear...
We will add opt-in cache classes for library developers and end users to cache the compiler artifacts.
This was the Cursor prompt: > I want to add typing annotations to the cuda_core code, to be checked with mypy when running the pre-commit command. Note: I had to...
In 2025, there are many ways of installing CUDA to a Python environment. One key challenge here is that all header/library search logics implemented in the existing CUDA-enabled libraries (ex:...