Skip to content

Commit 8c36a82

Browse files
authored
Fix to account for multiple ISA enumeration (#118676)
1 parent 7748492 commit 8c36a82

File tree

1 file changed

+1
-1
lines changed
  • offload/plugins-nextgen/amdgpu/src

1 file changed

+1
-1
lines changed

offload/plugins-nextgen/amdgpu/src/rtl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ Expected<std::string> getTargetTripleAndFeatures(hsa_agent_t Agent) {
207207
llvm::StringRef TripleTarget(ISAName.begin(), Length);
208208
if (TripleTarget.consume_front("amdgcn-amd-amdhsa"))
209209
Target = TripleTarget.ltrim('-').rtrim('\0').str();
210-
return HSA_STATUS_SUCCESS;
210+
return HSA_STATUS_INFO_BREAK;
211211
});
212212
if (Err)
213213
return Err;

0 commit comments

Comments
 (0)