Merge pull request #26451 from savuor:rv/fix_get_handle

Build fix for opencl_core.cpp
pull/26452/head
Alexander Smorkalov 2 weeks ago committed by GitHub
commit ff639d11d4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      modules/core/src/opencl/runtime/opencl_core.cpp

@ -204,7 +204,7 @@ static void* GetProcAddress(const char* name)
{
const std::string path = (i==0) ? getRuntimePath(defaultAndroidPaths[i]) : defaultAndroidPaths[i];
if (!path.empty()) {
handle = GetHandle(path);
handle = GetHandle(path.c_str());
if (handle) {
foundOpenCL = true;
break;

Loading…
Cancel
Save