Update ocl.cpp function Device::OpenCLVersion()
authorJinay Patel <jinay1991@gmail.com>
Thu, 16 Feb 2017 09:50:57 +0000 (15:20 +0530)
committerGitHub <noreply@github.com>
Thu, 16 Feb 2017 09:50:57 +0000 (15:20 +0530)
commitf710d966020b62fd6d5af1e97c844bbe41abf287
tree30733f4120018ef01e484983f36576955b76d95f
parentbc8a91ed832772e3ec49b0df4130449554273d99
Update ocl.cpp function Device::OpenCLVersion()

Instead of CL_DEVICE_EXTENSIONS in Querying OpenCLVersion, it should be CL_DEVICE_VERSION flag which needs to be passed to the function.
modules/core/src/ocl.cpp