P4 to Git Change 1789157 by vsytchen@vsytchen-remote-ocl-win10 on 2019/05/29 16:23:11

SWDEV-185452 - Offline compilation failing on a VM, producing error CL_PLATFORM_NOT_FOUND_KHR

	1. Don't load a platform if there are no devices available for it. If there is no platform that has visible devices, only allow the PAL platform to load.

	ReviewBoardURL = http://ocltc.amd.com/reviews/r/17419/diff/

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_icd.cpp#34 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.cpp#19 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#309 edit
This commit is contained in:
foreman
2019-05-29 17:27:48 -04:00
parent a4eaa79df8
commit 1d802b0413
2 changed files with 9 additions and 0 deletions
+2
View File
@@ -188,6 +188,8 @@ namespace amd {
extern bool IS_HIP;
extern bool IS_LEGACY;
//! \addtogroup Utils
// @{