Commit b3636fe5 authored by Vladimir's avatar Vladimir

Fixed pointers to posNum and negNum

parent c64a5a04
......@@ -131,8 +131,8 @@ namespace cv
ocl::KernelArg::PtrReadOnly(devPositiveSamples),
ocl::KernelArg::PtrReadOnly(devNegativeSamples),
ocl::KernelArg::PtrWriteOnly(devNCC),
posNum,
negNum);
*posNum,
*negNum);
//e4 = getTickCount();
//t = (e4 - e3) / getTickFrequency()*1000.0;
......@@ -208,8 +208,8 @@ namespace cv
ocl::KernelArg::PtrReadOnly(devNegativeSamples),
ocl::KernelArg::PtrWriteOnly(devPosNCC),
ocl::KernelArg::PtrWriteOnly(devNegNCC),
posNum,
negNum,
*posNum,
*negNum,
numOfPatches);
//e4 = getTickCount();
......@@ -364,8 +364,8 @@ namespace cv
ocl::KernelArg::PtrReadOnly(devPositiveSamples),
ocl::KernelArg::PtrReadOnly(devNegativeSamples),
ocl::KernelArg::PtrWriteOnly(devNCC),
posNum,
negNum);
*posNum,
*negNum);
//e4 = getTickCount();
//t = (e4 - e3) / getTickFrequency()*1000.0;
......
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