File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ void QgsOpenClUtils::init()
39
39
for ( auto &p : platforms )
40
40
{
41
41
std::string platver = p.getInfo <CL_PLATFORM_VERSION>();
42
- QgsDebugMsg ( QStringLiteral ( " Found platform %1: %2" ).arg ( QString::fromStdString ( platver ), QString::fromStdString ( p.getInfo <CL_PLATFORM_NAME>() ) ) );
42
+ QgsDebugMsg ( QStringLiteral ( " Found OpenCL platform %1: %2" ).arg ( QString::fromStdString ( platver ), QString::fromStdString ( p.getInfo <CL_PLATFORM_NAME>() ) ) );
43
43
if ( platver.find ( " OpenCL 1." ) != std::string::npos )
44
44
{
45
45
std::vector<cl::Device> devices;
@@ -70,6 +70,7 @@ void QgsOpenClUtils::init()
70
70
else
71
71
{
72
72
cl::Device::setDefault ( dev );
73
+ QgsDebugMsg ( QStringLiteral ( " Found OpenCL device %1" ).arg ( QString::fromStdString ( dev.getInfo <CL_DEVICE_NAME>() ) ) );
73
74
sAvailable = true ;
74
75
}
75
76
}
You can’t perform that action at this time.
0 commit comments