mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2026-10-13 00:08:26 +08:00
Release v13.3 of the CUDA samples with CUDA 13.3 Toolkit (#435)
This is the release of the CUDA 13.3 samples, which include additions for CUDA Tile C++, and updated CCCL and Python samples.
This commit is contained in:
@@ -90,7 +90,7 @@ Query and display detailed properties of all CUDA-capable devices in your system
|
||||
- CUDA Toolkit 13.0 or newer (recommended; matches `cuda-python` 13.x)
|
||||
- Python 3.10 or newer
|
||||
- `cuda-python` package (>=13.0.0)
|
||||
- `cuda-core` package (>=0.6.0)
|
||||
- `cuda-core` package (>=1.0.0)
|
||||
|
||||
## Installation
|
||||
|
||||
@@ -103,7 +103,7 @@ pip install -r requirements.txt
|
||||
|
||||
The requirements.txt installs:
|
||||
- `cuda-python` (>=13.0.0)
|
||||
- `cuda-core` (>=0.6.0)
|
||||
- `cuda-core` (>=1.0.0)
|
||||
|
||||
## How to Run
|
||||
|
||||
|
||||
@@ -138,7 +138,7 @@ def print_device_info(dev_id, device):
|
||||
print(f"Device {dev_id}: {device.name}")
|
||||
|
||||
# cuda.bindings workaround: runtime version not in cuda.core
|
||||
driver_major, driver_minor = system.get_driver_version()
|
||||
driver_major, driver_minor = system.get_user_mode_driver_version()
|
||||
err, runtime_version = cudart.cudaRuntimeGetVersion()
|
||||
if err != cudart.cudaError_t.cudaSuccess:
|
||||
raise RuntimeError(f"Failed to get CUDA runtime version: {err}")
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Device Query Sample Requirements
|
||||
|
||||
cuda-python>=13.0.0
|
||||
cuda-core>=0.6.0
|
||||
cuda-core>=1.0.0
|
||||
|
||||
Reference in New Issue
Block a user