add an error message before aborting if a wrong GPU target was used for compilation
Change-Id: I7b41e93d420dbc47978238a681f2956a0def01cb
[ROCm/hip commit: 9121a74ac1]
Tento commit je obsažen v:
odevzdal
Aryan Salmanpour
rodič
2ac9c18acf
revize
7a2961fc57
@@ -89,8 +89,7 @@ hipError_t CodeObject::extractCodeObjectFromFatBinary(const void* data,
|
||||
if (num_code_objs == devices.size()) {
|
||||
return hipSuccess;
|
||||
} else {
|
||||
DevLogError("hipErrorNoBinaryForGpu: Coudn't find binary for current devices!");
|
||||
guarantee(false);
|
||||
guarantee(false && "hipErrorNoBinaryForGpu: Coudn't find binary for current devices!");
|
||||
return hipErrorNoBinaryForGpu;
|
||||
}
|
||||
}
|
||||
|
||||
Odkázat v novém úkolu
Zablokovat Uživatele