"official/projects/nhnet/trainer.py" did not exist on "68dc253ea8273b0907cd36a45a5b78e3f6d2d024"
Commit 7d248d46 authored by Paul's avatar Paul
Browse files

Fix tidy issues

parent e72668cc
......@@ -21,7 +21,7 @@
namespace migraphx {
inline namespace MIGRAPHX_INLINE_NS {
template <class T, class F, F f>
template <class T, class F, F f> // NOLINT
struct mlir_handle
{
struct ptr
......@@ -177,7 +177,7 @@ struct mlir_program
}
MlirAttribute attribute(std::uint64_t i) const { return attribute(std::int64_t(i)); }
MlirAttribute attribute(unsigned char i) const { return attribute(std::int64_t(i)); }
MlirAttribute attribute(bool b) const { return mlirBoolAttrGet(ctx.get(), b); }
MlirAttribute attribute(bool b) const { return mlirBoolAttrGet(ctx.get(), b ? 1 : 0); }
MlirAttribute attribute(double d) const
{
return mlirFloatAttrDoubleGet(ctx.get(), mlirF64TypeGet(ctx.get()), d);
......
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