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
ec81e04a
"sgl-router/src/git@developer.sourcefind.cn:change/sglang.git" did not exist on "36efd5be8a0f0c5e0f07dcd3a0b6b4df5d210c89"
Commit
ec81e04a
authored
Jul 18, 2018
by
Paul
Browse files
s/miopen_lowering/lowering
parent
c27768c7
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/lowering.hpp
src/targets/miopen/include/migraph/miopen/lowering.hpp
+1
-1
src/targets/miopen/lowering.cpp
src/targets/miopen/lowering.cpp
+2
-2
src/targets/miopen/miopen_target.cpp
src/targets/miopen/miopen_target.cpp
+2
-2
No files found.
src/targets/miopen/CMakeLists.txt
View file @
ec81e04a
...
@@ -13,7 +13,7 @@ endif()
...
@@ -13,7 +13,7 @@ endif()
add_library
(
migraph_miopen
add_library
(
migraph_miopen
hip.cpp
hip.cpp
miopen_target.cpp
miopen_target.cpp
miopen_
lowering.cpp
lowering.cpp
miopen_write_literals.cpp
miopen_write_literals.cpp
rocblas.cpp
rocblas.cpp
)
)
...
...
src/targets/miopen/include/migraph/miopen/
miopen_
lowering.hpp
→
src/targets/miopen/include/migraph/miopen/lowering.hpp
View file @
ec81e04a
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
namespace
migraph
{
namespace
migraph
{
namespace
miopen
{
namespace
miopen
{
struct
miopen_
lowering
struct
lowering
{
{
std
::
string
name
()
const
{
return
"miopen::lowering"
;
}
std
::
string
name
()
const
{
return
"miopen::lowering"
;
}
void
apply
(
program
&
p
)
const
;
void
apply
(
program
&
p
)
const
;
...
...
src/targets/miopen/
miopen_
lowering.cpp
→
src/targets/miopen/lowering.cpp
View file @
ec81e04a
#include <rocblas.h>
#include <rocblas.h>
#include <migraph/miopen/
miopen_
lowering.hpp>
#include <migraph/miopen/lowering.hpp>
#include <migraph/manage_ptr.hpp>
#include <migraph/manage_ptr.hpp>
#include <migraph/instruction.hpp>
#include <migraph/instruction.hpp>
#include <migraph/operators.hpp>
#include <migraph/operators.hpp>
...
@@ -312,7 +312,7 @@ struct miopen_apply
...
@@ -312,7 +312,7 @@ struct miopen_apply
}
}
};
};
void
miopen_
lowering
::
apply
(
program
&
p
)
const
{
miopen_apply
{
&
p
}.
apply
();
}
void
lowering
::
apply
(
program
&
p
)
const
{
miopen_apply
{
&
p
}.
apply
();
}
}
// namespace miopen
}
// namespace miopen
...
...
src/targets/miopen/miopen_target.cpp
View file @
ec81e04a
#include <migraph/miopen/miopen_target.hpp>
#include <migraph/miopen/miopen_target.hpp>
#include <migraph/miopen/
miopen_
lowering.hpp>
#include <migraph/miopen/lowering.hpp>
#include <migraph/miopen/miopen_write_literals.hpp>
#include <migraph/miopen/miopen_write_literals.hpp>
#include <migraph/miopen/context.hpp>
#include <migraph/miopen/context.hpp>
...
@@ -8,7 +8,7 @@ namespace miopen {
...
@@ -8,7 +8,7 @@ namespace miopen {
std
::
vector
<
pass
>
miopen_target
::
get_passes
(
context
&
)
const
std
::
vector
<
pass
>
miopen_target
::
get_passes
(
context
&
)
const
{
{
return
{
miopen_
lowering
{},
miopen_write_literals
{}};
return
{
lowering
{},
miopen_write_literals
{}};
}
}
std
::
string
miopen_target
::
name
()
const
{
return
"miopen"
;
}
std
::
string
miopen_target
::
name
()
const
{
return
"miopen"
;
}
...
...
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