Skip to content

Commit

Permalink
Add gfx1150 support.
Browse files Browse the repository at this point in the history
  • Loading branch information
raikonenfnu committed May 25, 2024
1 parent c814496 commit 1b9a088
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion compiler/plugins/target/ROCM/ROCMTargetUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ LogicalResult setHIPGlobals(Location loc, llvm::Module *module,
if (chipArch < 6000)
return failure();
// Latest GFX arch supported is gfx115x.
if (chipArch > 11000)
if (chipArch > 11500)
return failure();
// Get chip code from suffix. i.e gfx1103 -> `3`.
// gfx90a -> `a` == `10`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ std::optional<TargetDetails> getAMDGPUTargetDetails(StringRef target) {
.Case("rx7800xt", TargetDetails{rdna3Wgp, &rx7800xtChip})
// https://www.techpowerup.com/gpu-specs/radeon-rx-7700-xt.c3911
.Case("rx7700xt", TargetDetails{rdna3Wgp, &rx7700xtChip})
.Cases("rdna3", "gfx1100", "gfx1101", "gfx1102", "gfx1103",
.Cases("rdna3", "gfx1100", "gfx1101", "gfx1102", "gfx1103", "gfx1150",
TargetDetails{rdna3Wgp, nullptr})
.Default(std::nullopt);
}
Expand Down

0 comments on commit 1b9a088

Please sign in to comment.