Merge pull request #808 from bitwangyaoyao:2.4_mac

This commit is contained in:
Andrey Kamaev
2013-04-12 14:59:45 +04:00
committed by OpenCV Buildbot
9 changed files with 287 additions and 274 deletions

View File

@@ -77,7 +77,7 @@ namespace cv
size_t wave_size = 0;
queryDeviceInfo(WAVEFRONT_SIZE, &wave_size);
std::sprintf(pSURF_OPTIONS, " -D WAVE_SIZE=%d", static_cast<int>(wave_size));
std::sprintf(pSURF_OPTIONS, "-D WAVE_SIZE=%d", static_cast<int>(wave_size));
OPTION_INIT = true;
}
openCLExecuteKernel(clCxt, source, kernelName, globalThreads, localThreads, args, channels, depth, SURF_OPTIONS);