mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2025-08-23 23:40:31 +08:00
Merge branch 'master' into 'master'
Bug 5236593: Increase the pending kernel launch limit to 4096 See merge request cuda-samples/cuda-samples!109
This commit is contained in:
commit
c6af90553e
@ -575,6 +575,9 @@ int main(int argc, char *argv[])
|
||||
|
||||
printf("Running qsort on %d elements with seed %d, on %s\n", size, seed, properties.name);
|
||||
|
||||
// Increase the pending kernel launch limit
|
||||
cudaDeviceSetLimit(cudaLimitDevRuntimePendingLaunchCount, 4096);
|
||||
|
||||
run_qsort(size, seed, debug, loop, verbose);
|
||||
|
||||
exit(EXIT_SUCCESS);
|
||||
|
Loading…
x
Reference in New Issue
Block a user