Merge pull request #825 from pengx17:2.4_query_cpu_wavesize

pull/826/merge
Andrey Kamaev 12 years ago committed by OpenCV Buildbot
commit bf551df4cf
  1. 7
      modules/ocl/src/initialization.cpp

@ -366,6 +366,13 @@ namespace cv
{
case WAVEFRONT_SIZE:
{
bool is_cpu = false;
queryDeviceInfo(IS_CPU_DEVICE, &is_cpu);
if(is_cpu)
{
*(int*)info = 1;
return;
}
#ifdef CL_DEVICE_WAVEFRONT_WIDTH_AMD
try
{

Loading…
Cancel
Save