mirror of
https://github.com/opencv/opencv.git
synced 2024-11-25 11:40:44 +08:00
dump AMD Blas/Fft
This commit is contained in:
parent
0a90d6dde6
commit
16bfdbd22a
@ -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…
Reference in New Issue
Block a user