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

Change-Id: I18e45592e58e5766b4c00f758966771f06205ba8
This commit is contained in:
Satyanvesh Dittakavi committed 2024-07-11 13:56:58 -04:00
1 parent b5b1f639c0
commit dc8259e71e
1 file changed
+3
+3
View File
@@ -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;