Sync v13.3-public from internal repo

This commit is contained in:
cuda-samples sync
2026-05-27 21:03:57 +00:00
parent aeab82ff30
commit 99686e0c71
150 changed files with 7977 additions and 246 deletions

View File

@@ -139,7 +139,7 @@ def run_sample(num_elements: int = 1024 * 1024, device_id: int = 0) -> bool:
try:
# Make CuPy use our stream
cp.cuda.ExternalStream(int(stream.handle)).use()
cp.cuda.Stream.from_external(stream).use()
# Compile kernels
program = Program(
@@ -216,7 +216,7 @@ def run_sample(num_elements: int = 1024 * 1024, device_id: int = 0) -> bool:
test3 = verify_array_result(d_partial, expected_partial)
# Performance timing
event_opts = EventOptions(enable_timing=True)
event_opts = EventOptions(timing_enabled=True)
iterations = 100
stream.sync()

View File

@@ -1,6 +1,6 @@
# Block-wise Array Sum Requirements
cuda-python>=13.0.0
cuda-core>=0.6.0
cupy-cuda13x>=13.0.0
cuda-core>=1.0.0
cupy-cuda13x>=14.0.0
numpy>=2.3.2