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:
Dheemanth
2026-05-27 14:50:59 -07:00
committed by GitHub
parent aeab82ff30
commit b7c5481c55
150 changed files with 7977 additions and 246 deletions

View File

@@ -52,9 +52,9 @@ if (tid % (2 * s) == 0) { // Don't do this!
- CUDA Toolkit 13.0+
- Python 3.10+
- `cuda-python` (13.0.0+)
- `cuda-core` (>=0.6.0)
- `cuda-core` (>=1.0.0)
- `cuda-cccl` (1.0.0+)
- `cupy` (13.0.0+)
- `cupy-cuda13x` (>=14.0.0)
- `numpy` (>=2.3.2)
## Installation

View File

@@ -35,7 +35,7 @@ Key Concepts:
- Reduction tree pattern: Divide-and-conquer parallel algorithm
- Thread synchronization: Using __syncthreads() for coordination
- Sequential thread IDs: How to avoid warp divergence
- cuda.core Stream integration with CuPy via ExternalStream
- cuda.core Stream integration with CuPy via Stream.from_external
"""
import math
@@ -217,7 +217,7 @@ def benchmark_custom(
stream, kernel, d_input, block_size=block_size, work_buffers=work_buffers
)
event_opts = {"enable_timing": True}
event_opts = {"timing_enabled": True}
start_event = stream.device.create_event(options=event_opts)
end_event = stream.device.create_event(options=event_opts)
@@ -264,7 +264,7 @@ def benchmark_cuda_compute(
stream.sync()
d_output = cp.empty(1, dtype=cp.float32)
event_opts = {"enable_timing": True}
event_opts = {"timing_enabled": True}
start_event = stream.device.create_event(options=event_opts)
end_event = stream.device.create_event(options=event_opts)
@@ -299,7 +299,7 @@ def main() -> bool:
device = Device(0)
device.set_current()
stream = device.create_stream()
cp_stream = cp.cuda.ExternalStream(int(stream.handle))
cp_stream = cp.cuda.Stream.from_external(stream)
print()
print_gpu_info(device)

View File

@@ -1,7 +1,7 @@
# Parallel Reduction Sample Requirements
cuda-python>=13.0.0
cuda-core>=0.6.0
cuda-core>=1.0.0
cuda-cccl>=1.0.0
cupy-cuda13x>=13.0.0
cupy-cuda13x>=14.0.0
numpy>=2.3.2