dump AMD Blas/Fft

pull/2402/head
Ilya Lavrenov 11 years ago
parent 0a90d6dde6
commit 16bfdbd22a
  1. 9
      modules/ts/src/ocl_test.cpp

@ -94,6 +94,7 @@ static std::string bytesToStringRepr(size_t value)
void dumpOpenCLDevice()
{
using namespace cv::ocl;
try
{
std::vector<PlatformInfo> platforms;
@ -165,6 +166,14 @@ void dumpOpenCLDevice()
const char* isUnifiedMemoryStr = device.hostUnifiedMemory() ? "Yes" : "No";
DUMP_MESSAGE_STDOUT(" Host unified memory = "<< isUnifiedMemoryStr);
DUMP_PROPERTY_XML("cv_ocl_current_hostUnifiedMemory", device.hostUnifiedMemory());
const char* haveAmdBlasStr = haveAmdBlas() ? "Yes" : "No";
DUMP_MESSAGE_STDOUT(" Has AMD Blas = "<< haveAmdBlasStr);
DUMP_PROPERTY_XML("cv_ocl_current_AmdBlas", haveAmdBlas());
const char* haveAmdFftStr = haveAmdFft() ? "Yes" : "No";
DUMP_MESSAGE_STDOUT(" Has AMD Fft = "<< haveAmdFftStr);
DUMP_PROPERTY_XML("cv_ocl_current_AmdFft", haveAmdFft());
}
catch (...)
{

Loading…
Cancel
Save