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
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user