Commit b3636fe5 authored by Vladimir's avatar Vladimir

Fixed pointers to posNum and negNum

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