fixed a bug in scanRows CUDA kernel (part of nppStIntegral)
uninitialized value
This commit is contained in:
parent
f7792f0be2
commit
81ebe28c24
@ -288,7 +288,7 @@ __global__ void scanRows(T_in *d_src, Ncv32u texOffs, Ncv32u srcWidth, Ncv32u sr
|
||||
Ncv32u curElemOffs = offsetX + threadIdx.x;
|
||||
T_out curScanElem;
|
||||
|
||||
T_in curElem;
|
||||
T_in curElem = 0;
|
||||
T_out curElemMod;
|
||||
|
||||
if (curElemOffs < srcWidth)
|
||||
|
Loading…
x
Reference in New Issue
Block a user