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
Этот коммит содержится в:
@@ -66,6 +66,13 @@ namespace amd {
|
||||
#endif // __APPLE__
|
||||
|
||||
bool IS_HIP = false;
|
||||
|
||||
#if defined(WITH_GPU_DEVICE)
|
||||
bool IS_LEGACY = true;
|
||||
#else
|
||||
bool IS_LEGACY = false;
|
||||
#endif
|
||||
|
||||
// static
|
||||
char* Flag::envstr_;
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user