System information (version)
- OpenCV => 4.5.3
- Operating System / Platform => Windows 64 Bit
- Compiler => Visual Studio 2019
- GPU => NVIDIA GeForce GTX 1060 6GB
Detailed description
I'm using UMat on an NVIDIA GPU.
When I change the OpenCV version from 4.5.2 to 4.5.3 with my software, I get the following exception.
OpenCV(4.5.3) Error: Unknown error code -220 (OpenCL: Context initilized without DirectX interoperability) in cv::directx::convertFromD3D11Texture2D, file ..\..\..\modules\core\src\directx.cpp, line 1395
And I have seen the same exception in the sample program (example_directx_d3d11_interop.exe).
Steps to reproduce
- Run example_directx_d3d11_interop.exe
- Press 2 key. (switch to GPU processing)
- I get an exception, and abnormal termination.
Issue submission checklist
System information (version)
Detailed description
I'm using UMat on an NVIDIA GPU.
When I change the OpenCV version from 4.5.2 to 4.5.3 with my software, I get the following exception.
OpenCV(4.5.3) Error: Unknown error code -220 (OpenCL: Context initilized without DirectX interoperability) in cv::directx::convertFromD3D11Texture2D, file ..\..\..\modules\core\src\directx.cpp, line 1395And I have seen the same exception in the sample program (example_directx_d3d11_interop.exe).
Steps to reproduce
Issue submission checklist
forum.opencv.org, Stack Overflow, etc and have not found solution