P4 to Git Change 1725088 by wchau@wchau_OCL_boltzmann on 2019/01/02 13:45:33

SWDEV-175381 - OCL Runtime produces invalid names for bitcode data objects

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#25 edit


[ROCm/clr commit: 77c9dda5ba]
This commit is contained in:
foreman
2019-01-02 14:22:04 -05:00
والد be6a528baa
کامیت aa365b3f4c
@@ -1014,8 +1014,9 @@ bool Program::linkImplLC(const std::vector<Program*>& inputPrograms,
}
if (result) {
std::string llvmName = "LLVM Binary " + std::to_string(idx);
result = (addCodeObjData(program->llvmBinary_.data(), program->llvmBinary_.size(),
AMD_COMGR_DATA_KIND_BC, "LLVM Binary " + idx, &inputs) ==
AMD_COMGR_DATA_KIND_BC, llvmName.c_str(), &inputs) ==
AMD_COMGR_STATUS_SUCCESS);
}