We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc8a91e commit f710d96Copy full SHA for f710d96
modules/core/src/ocl.cpp
@@ -1935,7 +1935,7 @@ String Device::OpenCL_C_Version() const
1935
{ return p ? p->getStrProp(CL_DEVICE_OPENCL_C_VERSION) : String(); }
1936
1937
String Device::OpenCLVersion() const
1938
-{ return p ? p->getStrProp(CL_DEVICE_EXTENSIONS) : String(); }
+{ return p ? p->getStrProp(CL_DEVICE_VERSION) : String(); }
1939
1940
int Device::deviceVersionMajor() const
1941
{ return p ? p->deviceVersionMajor_ : 0; }
0 commit comments