mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2025-12-19 21:27:48 +08:00
Merge 1a4abc7966ec7a9ec4c71acd3a8333cd85fa0bd4 into 9c688d7ff78455ed42e345124d1495aad6bf66de
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…
x
Reference in New Issue
Block a user