Skip to content

Commit

Permalink
Migraphx support for gfx12 (#3517)
Browse files Browse the repository at this point in the history
  • Loading branch information
aarushjain29 authored and causten committed Oct 28, 2024
1 parent 53573bf commit f85c896
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/targets/gpu/fuse_mlir.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -983,7 +983,7 @@ void fuse_mlir::apply(module_pass_manager& mpm) const
#ifdef MIGRAPHX_MLIR
std::size_t counter = 0;
const auto& device_name = ctx == nullptr ? "" : ctx->get_current_device().get_gfx_name();
const bool is_navi = starts_with(device_name, "gfx11");
const bool is_navi = starts_with(device_name, "gfx11") or starts_with(device_name, "gfx12");

auto get_mode = [&](std::string_view option, mlir_mode m1, mlir_mode m2 = mlir_mode::fast) {
if(specific_op<rejected>(option))
Expand Down

0 comments on commit f85c896

Please sign in to comment.