SWDEV-355727 - Change in AMDGCN format in bitcode.

Change-Id: Ic32a3e7b866b35a321d8ececc2f6c63f9b23121d
This commit is contained in:
kjayapra-amd
2022-09-27 12:53:18 -04:00
committed by Rahul Garg
parent da88091ba4
commit 1b902e1809
+2 -1
View File
@@ -325,7 +325,8 @@ bool isCodeObjectCompatibleWithDevice(std::string co_triple_target_id,
if (co_triple_target_id == agent_triple_target_id) return true;
// Parse code object triple target id
if (!consume(co_triple_target_id, std::string(AMDGCN_TARGET_TRIPLE) + '-')) {
if (!consume(co_triple_target_id, std::string(OFFLOAD_KIND_HIP) + "-"
+ std::string(AMDGCN_TARGET_TRIPLE))) {
return false;
}