renamed **2 -> **

This commit is contained in:
Ilya Lavrenov
2014-01-31 20:23:01 +04:00
parent 42ac3123ec
commit c7fe162829
11 changed files with 254 additions and 160 deletions

View File

@@ -98,14 +98,14 @@ void dumpOpenCLDevice()
using namespace cv::ocl;
try
{
std::vector<PlatformInfo2> platforms;
std::vector<PlatformInfo> platforms;
cv::ocl::getPlatfomsInfo(platforms);
if (platforms.size() > 0)
{
DUMP_MESSAGE_STDOUT("OpenCL Platforms: ");
for (size_t i = 0; i < platforms.size(); i++)
{
const PlatformInfo2* platform = &platforms[i];
const PlatformInfo* platform = &platforms[i];
DUMP_MESSAGE_STDOUT(" " << platform->name().c_str());
Device current_device;
for (int j = 0; j < platform->deviceNumber(); j++)