mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2025-04-19 05:52:25 +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 {
|
} else {
|
||||||
switch (threads) {
|
switch (threads) {
|
||||||
case 1024:
|
case 1024:
|
||||||
reduce7<T, 1024, true>
|
reduce7<T, 1024, false>
|
||||||
<<<dimGrid, dimBlock, smemSize>>>(d_idata, d_odata, size);
|
<<<dimGrid, dimBlock, smemSize>>>(d_idata, d_odata, size);
|
||||||
break;
|
break;
|
||||||
case 512:
|
case 512:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user