Commit 80246f67 authored by Shucai Xiao's avatar Shucai Xiao
Browse files

fixed the warnings related to inline namespace.

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