Unable to use opencl with user right on win10 [closed]
Hi,
I want to use opencl on windows 10 My program is :
ocl::setUseOpenCL(true);
I have got an exception :
OpenCV Error: Unknown error code -220 (OpenCL error Unknown OpenCL error (999) during call: clCreateContext) in cv::ocl::Context::Impl::setDefault, file G:\Lib\opencv\modules\core\src\ocl.cpp, line 1327
I cannot find error code 999 in opencl.
Stack trace is > > opencv_core331d.dll!cv::error(const cv::Exception & exc) Ligne 965 C++
opencv_core331d.dll!cv::error(int _code, const cv::String & _err, const char * _func, const char * _file, int _line) Ligne 969 C++
opencv_core331d.dll!cv::ocl::Context::Impl::setDefault() Ligne 1327 C++
opencv_core331d.dll!cv::ocl::Context::getDefault(bool initialize) Ligne 1725 C++
opencv_core331d.dll!cv::ocl::Device::getDefault() Ligne 970 C++
opencv_core331d.dll!cv::ocl::setUseOpenCL(bool flag) Ligne 276 C++
ExempleML.exe!main(int argc, char * * argv) Ligne 122 C++
When I run exactly same program with admin right there is no error. Only difference I found is dll call : with user right C:\Windows\System32\nvptxJitCompiler.dll'. is loaded when line is executed. exception is thrown at next line.
May be it's only driver problem opencv 3.3-dev win 10 version 1703 GTX970 (driver 22.21.13.8569)
close -> issue
back to driver 21.21.13.7653 and opencl is OK