Commit 966c4c5b authored by Paul's avatar Paul
Browse files

Fix tidy warnings

parent 8fb6eedb
...@@ -99,7 +99,9 @@ struct mlir_handle ...@@ -99,7 +99,9 @@ struct mlir_handle
mlir_handle(T p) : handle(ptr{p}) {} mlir_handle(T p) : handle(ptr{p}) {}
T get() const { return handle.get().get(); } T get() const {
return handle.get().get(); // NOLINT(readability-redundant-smartptr-get)
}
T release() { return handle.release().get(); } T release() { return handle.release().get(); }
...@@ -571,7 +573,7 @@ struct mlir_program ...@@ -571,7 +573,7 @@ struct mlir_program
MIGRAPHX_THROW("Failed to compile mlir program"); MIGRAPHX_THROW("Failed to compile mlir program");
} }
std::string get_tune_params() { return get_mlir_perf_for_conv(pp); } std::string get_tune_params() const { return get_mlir_perf_for_conv(pp); }
mlir_context ctx; mlir_context ctx;
MlirLocation location; MlirLocation location;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment