remove 1024 thread cap in CUDA kernel launches
This commit is contained in:
@@ -305,7 +305,7 @@ impl CudaEngine {
|
||||
// Determine a small launch window (cover next nonces via GPU)
|
||||
// coverage bounded by remaining is enforced during consumption
|
||||
|
||||
let num_threads = threads.min(1024);
|
||||
let num_threads = threads;
|
||||
// Use many iterations per thread to reduce host exponentiations per launch
|
||||
let grid_dim = ((num_threads + block_dim - 1) / block_dim).max(1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user