SWDEV-472010 - Add error message reporting unknown kernel arg metadata

Change-Id: I18e45592e58e5766b4c00f758966771f06205ba8
Tento commit je obsažen v:
Satyanvesh Dittakavi
2024-07-09 08:36:37 +00:00
rodič b5b1f639c0
revize dc8259e71e
+3
Zobrazit soubor
@@ -390,6 +390,9 @@ static amd_comgr_status_t populateArgsV3(const amd_comgr_metadata_node_t key,
{
auto itValueKind = ArgValueKindV3.find(buf);
if (itValueKind == ArgValueKindV3.end()) {
LogPrintfError("Unknown Kernel arg metadata: %s", buf.c_str());
LogError("This may be due to running HIP app that requires a new HIP runtime version");
LogError("Please update the display driver");
return AMD_COMGR_STATUS_ERROR;
}
lcArg->info_.oclObject_ = itValueKind->second;