CUDA 13.4 samples update - v13.4-public

Release 13.4 of the CUDA Samples supported by CUDA Toolkit 13.4.
See Changelog for more information.
This commit is contained in:
Dheemanth
2026-09-09 15:07:08 -07:00
committed by GitHub
parent b7c5481c55
commit 5443602d89
871 changed files with 6843 additions and 321849 deletions

View File

@@ -215,6 +215,9 @@ int runTest(int argc, char **argv)
//////////////////////////////////////////////////////////////////////////////
// Device solution
// Enlarge the per-thread device stack: under -G the CUB warpspeed inclusive_scan is not inlined and its deep call chain overflows the default 1KB stack.
checkCudaErrors(cudaDeviceSetLimit(cudaLimitStackSize, 8192));
// Execution configuration
dim3 block(256);
dim3 grid((uint)ceil(ray.length / (double)block.x));