-
-
Notifications
You must be signed in to change notification settings - Fork 56.5k
test cases for OpenCL should only use default GPU device 0 #18917
Copy link
Copy link
Closed
Milestone
Description
Two test cases for the OpenCL execution context request the 2nd GPU device. As per #18907 (comment)_ the test cases should only use GPU device 0.
System information (version)
- OpenCV => 4.5.0
- Operating System / Platform => Windows 10 64-Bit
- Compiler => Visual Studio Community 2019 v16.8.2
Steps to reproduce
Code review at
opencv/modules/core/test/test_opencl.cpp
Line 123 in 85b0fb2
| ocl::Context context = ocl::Context::create(":GPU:1"); |
and
opencv/modules/core/test/test_opencl.cpp
Line 164 in 85b0fb2
| ocl::Context context = ocl::Context::create(":GPU:1"); |
Result
The 2nd GPU device is associated with the Execution Context. My computer has two devices in order: Nvidia, and Intel. Therefore, in these test cases, it is the Intel that is associated.
Expected
The GPU device 0 to be associated. On my system it would be the Nvidia.
Issue submission checklist
- I report the issue, it's not a question
- I checked the problem with documentation, FAQ, open issues,
answers.opencv.org, Stack Overflow, etc and have not found solution - I updated to latest OpenCV version and the issue is still there
- There is reproducer code and related data files: videos, images, onnx, etc
Reactions are currently unavailable