Skip to content

Commit 6043cca

Browse files
hidekisaitoronlieb
authored andcommitted
Fix to account for multiple ISA enumeration (llvm#118676)
Change-Id: Ie4d44d413b91a47bf3774f112d29438139d9c929
1 parent fd8e478 commit 6043cca

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

0 commit comments

Comments
 (0)