mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2025-04-12 20:38:31 +08:00
Merge 1a4abc7966
into 9c688d7ff7
This commit is contained in:
commit
aa783ed539
|
@ -928,7 +928,7 @@ void reduce(int size, int threads, int blocks, int whichKernel, T *d_idata,
|
|||
} else {
|
||||
switch (threads) {
|
||||
case 1024:
|
||||
reduce7<T, 1024, true>
|
||||
reduce7<T, 1024, false>
|
||||
<<<dimGrid, dimBlock, smemSize>>>(d_idata, d_odata, size);
|
||||
break;
|
||||
case 512:
|
||||
|
|
Loading…
Reference in New Issue
Block a user