mirror of
				https://github.com/NVIDIA/cuda-samples.git
				synced 2025-11-04 07:27:49 +08:00 
			
		
		
		
	Bug 5236593: Increase the pending kernel launch limit to 4096
This commit is contained in:
		
							parent
							
								
									330dd8472f
								
							
						
					
					
						commit
						611008fa86
					
				@ -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