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
This commit is contained in:
foreman
2017-10-12 10:57:57 -04:00
orang tua 469491fd51
melakukan 3c7f4d6c49
3 mengubah file dengan 15 tambahan dan 9 penghapusan
+4 -4
Melihat File
@@ -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) {