Commit 7f9d85cc authored by Shucai Xiao's avatar Shucai Xiao
Browse files

fixed the warnings related to inline namespace.

parent a4026def
......@@ -5,7 +5,7 @@
#include <utility>
namespace migraph {
namespace MIGRAPH_INLINE_NS {
inline namespace MIGRAPH_INLINE_NS {
namespace gpu {
shape miopen_softmax::compute_shape(const std::vector<shape>& inputs) const
......@@ -33,5 +33,5 @@ argument miopen_softmax::compute(context& ctx,
}
} // namespace gpu
} // namespace MIGRAPH_INLINE_NS
} // inline namespace MIGRAPH_INLINE_NS
} // namespace migraph
......@@ -17,7 +17,7 @@
#include <migraph/fwd_conv_batchnorm_rewrite.hpp>
namespace migraph {
namespace MIGRAPH_INLINE_NS {
inline namespace MIGRAPH_INLINE_NS {
namespace gpu {
std::vector<pass> target::get_passes(migraph::context& gctx) const
......@@ -57,5 +57,5 @@ std::string target::name() const { return "miopen"; }
migraph::context target::get_context() const { return context{}; }
} // namespace gpu
} // namespace MIGRAPH_INLINE_NS
} // inline namespace MIGRAPH_INLINE_NS
} // namespace migraph
......@@ -5,7 +5,7 @@
#include <migraph/env.hpp>
namespace migraph {
namespace MIGRAPH_INLINE_NS {
inline namespace MIGRAPH_INLINE_NS {
namespace gpu {
MIGRAPH_DECLARE_ENV_VAR(MIGRAPH_COPY_LITERALS)
......@@ -53,5 +53,5 @@ void write_literals::apply(program& p) const
}
} // namespace gpu
} // namespace MIGRAPH_INLINE_NS
} // inline namespace MIGRAPH_INLINE_NS
} // namespace migraph
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