Merge pull request #8214 from jinay1991:patch-1

This commit is contained in:
Alexander Alekhin 2017-02-16 11:08:59 +00:00
commit 0af3638c5a

View File

@ -1935,7 +1935,7 @@ String Device::OpenCL_C_Version() const
{ return p ? p->getStrProp(CL_DEVICE_OPENCL_C_VERSION) : String(); }
String Device::OpenCLVersion() const
{ return p ? p->getStrProp(CL_DEVICE_EXTENSIONS) : String(); }
{ return p ? p->getStrProp(CL_DEVICE_VERSION) : String(); }
int Device::deviceVersionMajor() const
{ return p ? p->deviceVersionMajor_ : 0; }