"src/include/blockwise_2d_tensor_op.hpp" did not exist on "913afaeb5d5ec0732d7b5a3da468ffd07609538e"
Commit 10fe3a73 authored by Shucai Xiao's avatar Shucai Xiao
Browse files

merge from branch rnn_operator

parents 40babfd5 0cc5b80e
...@@ -3,7 +3,11 @@ ...@@ -3,7 +3,11 @@
#include <migraphx/cpu/lowering.hpp> #include <migraphx/cpu/lowering.hpp>
#include <migraphx/auto_contiguous.hpp> #include <migraphx/auto_contiguous.hpp>
#include <migraphx/rewrite_rnn.hpp> #include <migraphx/rewrite_rnn.hpp>
<<<<<<< HEAD
#include <migraphx/rewrite_gru.hpp> #include <migraphx/rewrite_gru.hpp>
=======
#include <migraphx/dead_code_elimination.hpp>
>>>>>>> rnn_operator
namespace migraphx { namespace migraphx {
inline namespace MIGRAPHX_INLINE_NS { inline namespace MIGRAPHX_INLINE_NS {
...@@ -13,7 +17,11 @@ std::string target::name() const { return "cpu"; } ...@@ -13,7 +17,11 @@ std::string target::name() const { return "cpu"; }
std::vector<pass> target::get_passes(migraphx::context&) const std::vector<pass> target::get_passes(migraphx::context&) const
{ {
return {auto_contiguous{}, rewrite_rnn{}, rewrite_gru{}, lowering{}}; return {auto_contiguous{},
rewrite_rnn{},
dead_code_elimination{},
lowering{},
dead_code_elimination{}};
} }
} // namespace cpu } // namespace cpu
......
...@@ -36,8 +36,8 @@ std::vector<pass> target::get_passes(migraphx::context& gctx) const ...@@ -36,8 +36,8 @@ std::vector<pass> target::get_passes(migraphx::context& gctx) const
rewrite_rnn{}, rewrite_rnn{},
rewrite_gru{}, rewrite_gru{},
dead_code_elimination{}, dead_code_elimination{},
common_subexpression_elimination{}, //common_subexpression_elimination{},
dead_code_elimination{}, //dead_code_elimination{},
simplify_algebra{}, simplify_algebra{},
dead_code_elimination{}, dead_code_elimination{},
constant_propagate{}, constant_propagate{},
......
...@@ -1542,5 +1542,5 @@ int main() ...@@ -1542,5 +1542,5 @@ int main()
verify_program<test_rnn_5args>(); verify_program<test_rnn_5args>();
verify_program<test_rnn_bidirectional>(); verify_program<test_rnn_bidirectional>();
verify_program<test_rnn_bidirectional10>(); verify_program<test_rnn_bidirectional10>();
// verify_program<test_rnn_bi_3args>(); verify_program<test_rnn_bi_3args>();
} }
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