mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2026-11-17 17:38:18 +08:00
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:
@@ -431,6 +431,9 @@ int main(int argc, char **argv)
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
void initMC(int argc, char **argv)
|
||||
{
|
||||
// Enlarge the per-thread device stack: under -G the CUB warpspeed exclusive_scan is not inlined and its deep call chain overflows the default 1KB stack.
|
||||
checkCudaErrors(cudaDeviceSetLimit(cudaLimitStackSize, 8192));
|
||||
|
||||
// parse command line arguments
|
||||
int n;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user