Trying to make ocl surf work

1. Added more sync to reduction.
2. Turned off Image2D feature. Probably its support is not detected correctly.
3. Temporary disabled descriptor tests - can't localize a problem of the ocl descriptor.
This commit is contained in:
Andrey Kamaev
2013-03-17 01:14:45 +04:00
parent 1be58f9a00
commit dd678121b3
5 changed files with 26 additions and 27 deletions

View File

@@ -23,29 +23,29 @@ int main(int argc, char** argv)
{
cmd.printParams();
return 0;
}
}
printCudaInfo();
if (cmd.get<bool>("info"))
{
{
return 0;
}
}
int device = cmd.get<int>("device");
if (device < 0)
{
{
DeviceManager::instance().loadAll();
std::cout << "Run tests on all supported devices \n" << std::endl;
}
}
else
{
{
DeviceManager::instance().load(device);
DeviceInfo info(device);
std::cout << "Run tests on device " << device << " [" << info.name() << "] \n" << std::endl;
}
}
TS::ptr()->init("cv");
InitGoogleTest(&argc, argv);
@@ -58,7 +58,7 @@ int main(int argc, char** argv)
return -1;
}
catch (...)
{
{
std::cerr << "Unknown error" << std::endl;
return -1;
}