P4 to Git Change 1469140 by emankov@em-hsa-lightning on 2017/10/12 10:53:13
SWDEV-86035 - Fix OCL build on Linux after LLVM merge (CL 1469082)
TODO: PAL build should be fixed accordingly
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#27 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#71 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.hpp#28 edit
[ROCm/clr commit: 3c7f4d6c49]
This commit is contained in:
@@ -13,10 +13,10 @@ namespace roc {
|
||||
|
||||
#if defined(WITH_LIGHTNING_COMPILER)
|
||||
|
||||
using llvm::AMDGPU::CodeObject::AccessQualifier;
|
||||
using llvm::AMDGPU::CodeObject::AddressSpaceQualifier;
|
||||
using llvm::AMDGPU::CodeObject::ValueKind;
|
||||
using llvm::AMDGPU::CodeObject::ValueType;
|
||||
using llvm::AMDGPU::HSAMD::AccessQualifier;
|
||||
using llvm::AMDGPU::HSAMD::AddressSpaceQualifier;
|
||||
using llvm::AMDGPU::HSAMD::ValueKind;
|
||||
using llvm::AMDGPU::HSAMD::ValueType;
|
||||
|
||||
static inline ROC_ARG_TYPE GetKernelArgType(const KernelArgMD& lcArg) {
|
||||
switch (lcArg.mValueKind) {
|
||||
|
||||
Reference in New Issue
Block a user