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]
Este commit está contenido en:
foreman
2017-10-12 10:57:57 -04:00
padre d442f86781
commit 78d9c130b5
Se han modificado 3 ficheros con 15 adiciones y 9 borrados
@@ -841,7 +841,7 @@ bool HSAILProgram::setKernels_LC(amd::option::Options* options, void* binary, si
!memcmp(name, AMDGPU::ElfNote::NoteName, note->n_namesz)) {
std::string metadataStr((const char*)desc, (size_t)note->n_descsz);
metadata_ = new CodeObjectMD();
if (CodeObjectMD::fromYamlString(metadataStr, *metadata_)) {
if (llvm::AMDGPU::HSAMD::fromString(metadataStr, *metadata_)) {
buildLog_ += "Error: failed to process metadata\n";
return false;
}