SWDEV-430809 - Replace hipErrorSharedObjectInitFailed vs hipErrorNoBinaryForGpu
hipErrorSharedObjectInitFailed should be used for interop objects.
Change-Id: Id3bcffaac3b511021f2fd57e9b156a897b646db0
[ROCm/clr commit: 68d442f29a]
이 커밋은 다음에 포함됨:
@@ -419,13 +419,13 @@ hipError_t FatBinaryInfo::BuildProgram(const int device_id) {
|
||||
if(CL_SUCCESS != fbd_info->program_->build(g_devices[device_id]->devices(),
|
||||
nullptr, nullptr, nullptr,
|
||||
kOptionChangeable, kNewDevProg)) {
|
||||
return hipErrorSharedObjectInitFailed;
|
||||
return hipErrorNoBinaryForGpu;
|
||||
}
|
||||
fbd_info->prog_built_ = true;
|
||||
}
|
||||
|
||||
if (!fbd_info->program_->load()) {
|
||||
return hipErrorSharedObjectInitFailed;
|
||||
return hipErrorNoBinaryForGpu;
|
||||
}
|
||||
return hipSuccess;
|
||||
}
|
||||
|
||||
새 이슈에서 참조
사용자 차단