P4 to Git Change 1469232 by kzhuravl@kzhuravl-fiji-ocllc on 2017/10/12 13:32:01
SWDEV-125823 - Fix perforce opencl build Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#38 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.hpp#14 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#47 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.hpp#20 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.hpp#29 edit
Šī revīzija ir iekļauta:
@@ -20,7 +20,7 @@
|
||||
#include "hsa_ext_image.h"
|
||||
#include "amd_hsa_loader.hpp"
|
||||
#if defined(WITH_LIGHTNING_COMPILER)
|
||||
#include "llvm/Support/AMDGPUCodeObjectMetadata.h"
|
||||
#include "llvm/Support/AMDGPUMetadata.h"
|
||||
#include "driver/AmdCompiler.h"
|
||||
#include "libraries.amdgcn.inc"
|
||||
#include "gelf.h"
|
||||
@@ -1616,7 +1616,7 @@ bool LightningProgram::setKernels(amd::option::Options* options, void* binary, s
|
||||
&& note->n_namesz == sizeof "AMD" && !memcmp(name, "AMD", 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;
|
||||
}
|
||||
|
||||
Atsaukties uz šo jaunā problēmā
Block a user