fixed a bug in scanRows CUDA kernel (part of nppStIntegral)

uninitialized value
(cherry picked from commit 81ebe28c24)
This commit is contained in:
Vladislav Vinogradov 2015-04-13 17:09:59 +03:00 committed by Alexander Smorkalov
parent d308ed3712
commit f08dd510fa

View File

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