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.
2 parents bc8a91e + f710d96 commit 0af3638Copy full SHA for 0af3638
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