Merge pull request #2402 from ilya-lavrenov:amd_libs
This commit is contained in:
commit
73dfc4cb8c
@ -94,6 +94,7 @@ static std::string bytesToStringRepr(size_t value)
|
|||||||
void dumpOpenCLDevice()
|
void dumpOpenCLDevice()
|
||||||
{
|
{
|
||||||
using namespace cv::ocl;
|
using namespace cv::ocl;
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
std::vector<PlatformInfo> platforms;
|
std::vector<PlatformInfo> platforms;
|
||||||
@ -165,6 +166,14 @@ void dumpOpenCLDevice()
|
|||||||
const char* isUnifiedMemoryStr = device.hostUnifiedMemory() ? "Yes" : "No";
|
const char* isUnifiedMemoryStr = device.hostUnifiedMemory() ? "Yes" : "No";
|
||||||
DUMP_MESSAGE_STDOUT(" Host unified memory = "<< isUnifiedMemoryStr);
|
DUMP_MESSAGE_STDOUT(" Host unified memory = "<< isUnifiedMemoryStr);
|
||||||
DUMP_PROPERTY_XML("cv_ocl_current_hostUnifiedMemory", device.hostUnifiedMemory());
|
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 (...)
|
catch (...)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user