P4 to Git Change 1753035 by wchau@wchau_OCL_Linux on 2019/03/07 15:02:39
SWDEV-182054 - Allow building OpenCL-Runtime with COMGR enabled without OpenCL-Driver being present Affected files ... ... //depot/stg/opencl/drivers/opencl/api/hip/build/Makefile.hip#12 edit ... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/build/Makefile.api#184 edit ... //depot/stg/opencl/drivers/opencl/compiler/Makefile#71 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#242 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#335 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#30 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.hpp#18 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#126 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#87 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#120 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#51 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#100 edit
This commit is contained in:
@@ -10,7 +10,9 @@
|
||||
#ifndef WITHOUT_HSA_BACKEND
|
||||
|
||||
#if defined(WITH_LIGHTNING_COMPILER) || defined(USE_COMGR_LIBRARY)
|
||||
#ifndef USE_COMGR_LIBRARY
|
||||
#include "driver/AmdCompiler.h"
|
||||
#endif
|
||||
#include "llvm/Support/AMDGPUMetadata.h"
|
||||
|
||||
typedef llvm::AMDGPU::HSAMD::Metadata CodeObjectMD;
|
||||
|
||||
Reference in New Issue
Block a user