7335e429cbbd82e120d248804327fd0ade70cb48
SWDEV-128844 - OpenCL conformance test 2.0/gl/test_gl.exe fails to run on Vega10 Before switching to PAL on gfx9, we didnt need to pass any argument for running Conformance tests and the first GPU device was selected automatically to run the tests. But after switching to PAL, we need to explicitly pass either gpu or GPU_DEVICE_TYPE_GPU as an argument to run Conformance tests otherwise the tests are failing (clGetDeviceIDs failure) The reason for this issue is that the logic for creating device and null devices (offline devices) changed after switching to PAL for gfx9+ devices. To fix this issue, dont assign an offline device as "default" device. ReviewBoardURL = http://ocltc.amd.com/reviews/r/13360/diff/2/ Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#212 edit
Описание
No description provided
Languages
C++
67.5%
C
20.6%
Python
6.6%
CMake
3.4%
Shell
0.6%
Разное
1.1%