P4 to Git Change 1610376 by gandryey@gera-w8 on 2018/09/25 11:50:37
SWDEV-79445 - OCL generic changes and code clean-up - Fix HIP failures Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/devprogram.cpp#5 edit
Этот коммит содержится в:
@@ -1092,7 +1092,6 @@ aclType Program::getCompilationStagesFromBinary(std::vector<aclType>& completeSt
|
||||
if (isLC()) {
|
||||
#if defined(WITH_LIGHTNING_COMPILER)
|
||||
completeStages.clear();
|
||||
aclType from = ACL_TYPE_DEFAULT;
|
||||
needOptionsCheck = true;
|
||||
//! @todo Should we also check for ACL_TYPE_OPENCL & ACL_TYPE_LLVMIR_TEXT?
|
||||
// Checking llvmir in .llvmir section
|
||||
@@ -1352,7 +1351,9 @@ aclType Program::getNextCompilationStageFromBinary(amd::option::Options* options
|
||||
if (recompile) {
|
||||
while (!completeStages.empty()) {
|
||||
continueCompileFrom = completeStages.back();
|
||||
if (continueCompileFrom == ACL_TYPE_LLVMIR_BINARY ||
|
||||
if (continueCompileFrom == ACL_TYPE_SPIRV_BINARY ||
|
||||
continueCompileFrom == ACL_TYPE_LLVMIR_BINARY ||
|
||||
continueCompileFrom == ACL_TYPE_SPIR_BINARY ||
|
||||
continueCompileFrom == ACL_TYPE_DEFAULT) {
|
||||
break;
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user