Commit 81ebe28c authored by Vladislav Vinogradov's avatar Vladislav Vinogradov

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

uninitialized value
parent f7792f0b
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment