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
a6a851a1
Commit
a6a851a1
authored
Jul 18, 2018
by
Paul
Browse files
s/miopen_write_literals/write_literals
parent
b89b17b8
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
src/targets/miopen/CMakeLists.txt
src/targets/miopen/CMakeLists.txt
+1
-1
src/targets/miopen/include/migraph/miopen/write_literals.hpp
src/targets/miopen/include/migraph/miopen/write_literals.hpp
+1
-1
src/targets/miopen/target.cpp
src/targets/miopen/target.cpp
+2
-2
src/targets/miopen/write_literals.cpp
src/targets/miopen/write_literals.cpp
+2
-2
No files found.
src/targets/miopen/CMakeLists.txt
View file @
a6a851a1
...
@@ -14,7 +14,7 @@ add_library(migraph_miopen
...
@@ -14,7 +14,7 @@ add_library(migraph_miopen
hip.cpp
hip.cpp
target.cpp
target.cpp
lowering.cpp
lowering.cpp
miopen_
write_literals.cpp
write_literals.cpp
rocblas.cpp
rocblas.cpp
)
)
rocm_clang_tidy_check
(
migraph_miopen
)
rocm_clang_tidy_check
(
migraph_miopen
)
...
...
src/targets/miopen/include/migraph/miopen/
miopen_
write_literals.hpp
→
src/targets/miopen/include/migraph/miopen/write_literals.hpp
View file @
a6a851a1
...
@@ -7,7 +7,7 @@ namespace migraph {
...
@@ -7,7 +7,7 @@ namespace migraph {
namespace
miopen
{
namespace
miopen
{
struct
miopen_
write_literals
struct
write_literals
{
{
std
::
string
name
()
const
{
return
"miopen::write_literals"
;
}
std
::
string
name
()
const
{
return
"miopen::write_literals"
;
}
...
...
src/targets/miopen/target.cpp
View file @
a6a851a1
#include <migraph/miopen/target.hpp>
#include <migraph/miopen/target.hpp>
#include <migraph/miopen/lowering.hpp>
#include <migraph/miopen/lowering.hpp>
#include <migraph/miopen/
miopen_
write_literals.hpp>
#include <migraph/miopen/write_literals.hpp>
#include <migraph/miopen/context.hpp>
#include <migraph/miopen/context.hpp>
namespace
migraph
{
namespace
migraph
{
...
@@ -8,7 +8,7 @@ namespace miopen {
...
@@ -8,7 +8,7 @@ namespace miopen {
std
::
vector
<
pass
>
target
::
get_passes
(
context
&
)
const
std
::
vector
<
pass
>
target
::
get_passes
(
context
&
)
const
{
{
return
{
lowering
{},
miopen_
write_literals
{}};
return
{
lowering
{},
write_literals
{}};
}
}
std
::
string
target
::
name
()
const
{
return
"miopen"
;
}
std
::
string
target
::
name
()
const
{
return
"miopen"
;
}
...
...
src/targets/miopen/
miopen_
write_literals.cpp
→
src/targets/miopen/write_literals.cpp
View file @
a6a851a1
#include <migraph/miopen/
miopen_
write_literals.hpp>
#include <migraph/miopen/write_literals.hpp>
#include <migraph/iterator_for.hpp>
#include <migraph/iterator_for.hpp>
#include <migraph/miopen/hip.hpp>
#include <migraph/miopen/hip.hpp>
#include <migraph/instruction.hpp>
#include <migraph/instruction.hpp>
...
@@ -7,7 +7,7 @@ namespace migraph {
...
@@ -7,7 +7,7 @@ namespace migraph {
namespace
miopen
{
namespace
miopen
{
void
miopen_
write_literals
::
apply
(
program
&
p
)
const
void
write_literals
::
apply
(
program
&
p
)
const
{
{
for
(
auto
ins
:
iterator_for
(
p
))
for
(
auto
ins
:
iterator_for
(
p
))
{
{
...
...
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