extending openCL info dump

This commit is contained in:
Konstantin Matskevich
2013-11-06 12:17:06 +04:00
parent be37d99567
commit 5304e9f259
2 changed files with 57 additions and 16 deletions

View File

@@ -53,6 +53,18 @@
::testing::Test::RecordProperty((propertyXMLName), ss.str()); \
} while (false)
#define DUMP_DEVICES_INFO_STDOUT(deviceType, deviceIndex, deviceName, deviceVersion) \
do { \
std::cout << " " << (deviceType) << " " << (deviceIndex) << " : " << (deviceName) << " : " << deviceVersion << std::endl; \
} while (false)
#define DUMP_DEVICES_INFO_XML(deviceType, deviceIndex, deviceName, deviceVersion) \
do { \
std::stringstream ss; \
ss << ":" << deviceIndex << ":" << deviceName << ":" << deviceVersion; \
::testing::Test::RecordProperty((deviceType), ss.str()); \
} while (false)
#include "opencv2/ocl/private/opencl_dumpinfo.hpp"
static const char * impls[] =