Skip to content

Commit 0af3638

Browse files
committed
Merge pull request opencv#8214 from jinay1991:patch-1
2 parents bc8a91e + f710d96 commit 0af3638

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/core/src/ocl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1935,7 +1935,7 @@ String Device::OpenCL_C_Version() const
19351935
{ return p ? p->getStrProp(CL_DEVICE_OPENCL_C_VERSION) : String(); }
19361936

19371937
String Device::OpenCLVersion() const
1938-
{ return p ? p->getStrProp(CL_DEVICE_EXTENSIONS) : String(); }
1938+
{ return p ? p->getStrProp(CL_DEVICE_VERSION) : String(); }
19391939

19401940
int Device::deviceVersionMajor() const
19411941
{ return p ? p->deviceVersionMajor_ : 0; }

0 commit comments

Comments
 (0)