Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
MIGraphX
Commits
c05e72e2
Commit
c05e72e2
authored
Nov 05, 2018
by
Shucai Xiao
Browse files
change the macro MIGRAPH_ININE_NS back to version_1 in .cpp files.
parent
d6d386f7
Changes
43
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
src/targets/gpu/softmax.cpp
src/targets/gpu/softmax.cpp
+2
-2
src/targets/gpu/target.cpp
src/targets/gpu/target.cpp
+2
-2
src/targets/gpu/write_literals.cpp
src/targets/gpu/write_literals.cpp
+2
-2
No files found.
src/targets/gpu/softmax.cpp
View file @
c05e72e2
...
@@ -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
src/targets/gpu/target.cpp
View file @
c05e72e2
...
@@ -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
src/targets/gpu/write_literals.cpp
View file @
c05e72e2
...
@@ -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
Prev
1
2
3
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment