Skip to content

Commit 4a43fd6

Browse files
hidekisaitoronlieb
authored andcommitted
Fix for generic ISA enumerating multiple ISAs per agent
Change-Id: I0308e62102ef5fddbd648f13831fceb6795d32e2
1 parent 15170a4 commit 4a43fd6

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
@@ -421,7 +421,7 @@ Expected<std::string> getTargetTripleAndFeatures(hsa_agent_t Agent) {
421421
llvm::StringRef TripleTarget(ISAName.begin(), Length);
422422
if (TripleTarget.consume_front("amdgcn-amd-amdhsa"))
423423
Target = TripleTarget.ltrim('-').rtrim('\0').str();
424-
return HSA_STATUS_SUCCESS;
424+
return HSA_STATUS_INFO_BREAK;
425425
});
426426
if (Err)
427427
return Err;

0 commit comments

Comments
 (0)