"sgl-router/src/git@developer.sourcefind.cn:change/sglang.git" did not exist on "36efd5be8a0f0c5e0f07dcd3a0b6b4df5d210c89"
Commit ec81e04a authored by Paul's avatar Paul
Browse files

s/miopen_lowering/lowering

parent c27768c7
...@@ -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
) )
......
...@@ -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;
......
#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
......
#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"; }
......
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