fix racecheck warning in scanRows kernel
(cherry picked from commit fb15bdfb21da2c38beea6e87c7b08a19610821d6)
This commit is contained in:
parent
a752f25944
commit
fe1bd0cc2f
@ -280,7 +280,8 @@ __global__ void scanRows(T_in *d_src, Ncv32u texOffs, Ncv32u srcWidth, Ncv32u sr
|
||||
|
||||
__shared__ T_out shmem[NUM_SCAN_THREADS * 2];
|
||||
__shared__ T_out carryElem;
|
||||
carryElem = 0;
|
||||
if (threadIdx.x == 0)
|
||||
carryElem = 0;
|
||||
__syncthreads();
|
||||
|
||||
while (numBuckets--)
|
||||
|
Loading…
x
Reference in New Issue
Block a user