Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
pfultz2 committed Oct 14, 2023
1 parent e6cb212 commit 91c1fd1
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 @@ -399,7 +399,7 @@ bool is_requested(std::string_view option, bool fallback = false)
void fuse_mlir::apply(module_pass_manager& mpm) const
{
#ifdef MIGRAPHX_MLIR
const auto& device_name = ctx != nullopt ? ctx->get_current_device().get_gfx_name() : "";
const auto& device_name = ctx != nullptr ? ctx->get_current_device().get_gfx_name() : "";
const bool is_navi = starts_with(device_name, "gfx110");

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

0 comments on commit 91c1fd1

Please sign in to comment.