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
80246f67
Commit
80246f67
authored
Nov 05, 2018
by
Shucai Xiao
Browse files
fixed the warnings related to inline namespace.
parent
ca69e522
Changes
43
Show 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 @
80246f67
...
@@ -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
src/targets/gpu/target.cpp
View file @
80246f67
...
@@ -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
src/targets/gpu/write_literals.cpp
View file @
80246f67
...
@@ -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
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