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

@@ -195,6 +195,19 @@ def main():
print(f"Buffer size: {args.buffer_mib} MiB")
print(f"Lock timeout: {args.lock_timeout_ms} ms")
# CUDA process checkpointing relies on kernel-mode driver features
# that aren't shipped on integrated-GPU platforms (e.g. Tegra /
# Jetson / Thor). On those, Process.lock() can hang indefinitely
# instead of returning a clean "not supported" error. Skip cleanly
# rather than hanging. Remove this guard once integrated platforms
# gain checkpoint support.
if device.properties.integrated:
print(
f"CUDA process checkpointing is not supported on integrated "
f"GPUs (sm_{device.arch}), waiving this sample."
)
return 2
print()
print("Compiling kernel ...")
fill_kernel = compile_fill_kernel(device)

View File

@@ -1,3 +1,4 @@
cuda-python>=13.0.0
cuda-core>=0.7.0
# cuda-bindings 13.3.0 drops the CUcheckpointRestoreArgs alias that cuda-core requires
cuda-python>=13.0.0,<13.3.0
cuda-core>=1.0.0
numpy>=2.3.2