foreman 77256aebbe P4 to Git Change 1453366 by asalmanp@asalmanp-ocl-stg on 2017/08/30 15:16:37
SWDEV-128844 - OpenCL conformance test 2.0/gl/test_gl.exe fails to run on Vega10

	Before switching to PAL on gfx9, we didn’t 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, don’t 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


[ROCm/clr commit: 7335e429cb]
2017-08-30 15:37:01 -04:00
S
Описание
No description provided
282 MiB
Languages
C++ 67.5%
C 20.6%
Python 6.6%
CMake 3.4%
Shell 0.6%
Разное 1.1%