Skip to content

Commit 37835f7

Browse files
author
Zixin Zhang
committed
Bloopers 1 Fixed
1 parent 152f9d2 commit 37835f7

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

stream_compaction/naive.cu

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,10 @@ namespace StreamCompaction {
4040
__syncthreads();
4141
int index = threadIdx.x;
4242
int previousIndex = index - stride;
43-
#if 0
4443
if (previousIndex < 0)
4544
{
4645
previousIndex = 0;
4746
}
48-
#endif
4947
int temp = XY[index] + XY[previousIndex];
5048
// make sure previous output has been consumed
5149
__syncthreads();

0 commit comments

Comments
 (0)