Commit c05e72e2 authored by Shucai Xiao's avatar Shucai Xiao
Browse files

change the macro MIGRAPH_ININE_NS back to version_1 in .cpp files.

parent d6d386f7
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
#include <utility> #include <utility>
namespace migraph { namespace migraph {
inline namespace MIGRAPH_INLINE_NS { inline namespace version_1 {
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 } // namespace version_1
} // namespace migraph } // namespace migraph
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
#include <migraph/fwd_conv_batchnorm_rewrite.hpp> #include <migraph/fwd_conv_batchnorm_rewrite.hpp>
namespace migraph { namespace migraph {
inline namespace MIGRAPH_INLINE_NS { inline namespace version_1 {
namespace gpu { namespace gpu {
std::vector<pass> target::get_passes(migraph::context& gctx) const std::vector<pass> target::get_passes(migraph::context& gctx) const
...@@ -57,5 +57,5 @@ std::string target::name() const { return "miopen"; } ...@@ -57,5 +57,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 version_1
} // namespace migraph } // namespace migraph
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
#include <migraph/env.hpp> #include <migraph/env.hpp>
namespace migraph { namespace migraph {
inline namespace MIGRAPH_INLINE_NS { inline namespace version_1 {
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 version_1
} // 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