fixed issue #272 in reduction_kernel.cu

This commit is contained in:
Aryamaan Singh 2024-07-17 12:56:30 +05:30 committed by GitHub
parent 5f97d7d0df
commit 1a4abc7966
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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: