P4 to Git Change 1193032 by emankov@em-hsa-amd on 2015/09/22 11:03:08
SWDEV-17662 - ORCA RT: fix for continuing work after Program link failure. [Synopsis] If program link is failed RT continues its work and fails further (for example, in symbol.setDeviceKernel). [Testing] pre check-in Reviewer: German Andryeyev Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#207 edit ... //depot/stg/opencl/drivers/opencl/runtime/platform/program.cpp#70 edit
This commit is contained in:
@@ -1819,6 +1819,7 @@ HSAILProgram::linkImpl(
|
||||
binaries_to_link[0], binaries_to_link.size() - 1,
|
||||
&binaries_to_link[1], ACL_TYPE_LLVMIR_BINARY, "-create-library", NULL);
|
||||
if (errorCode != ACL_SUCCESS) {
|
||||
buildLog_ += aclGetCompilerLog(dev().hsaCompiler());
|
||||
buildLog_ +="Error while linking : \
|
||||
aclLink failed" ;
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user