This repository was archived by the owner on Jan 3, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +3
-6
lines changed Expand file tree Collapse file tree 6 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 2020#include " ngraph/op/constant.hpp"
2121#include " ngraph/op/parameter.hpp"
2222#include " ngraph/op/util/op_annotations.hpp"
23- #include " ngraph/runtime/cpu/cpu_op_annotations.hpp"
2423
2524using namespace std ;
2625using namespace ngraph ;
Original file line number Diff line number Diff line change 1919#include " ngraph/file_util.hpp"
2020#include " ngraph/runtime/backend.hpp"
2121#include " ngraph/runtime/backend_manager.hpp"
22- #include " ngraph/runtime/cpu/cpu_tensor_view.hpp"
2322#include " ngraph/util.hpp"
2423
2524using namespace std ;
Original file line number Diff line number Diff line change 2727
2828#include " ngraph/ngraph.hpp"
2929#include " ngraph/pass/manager.hpp"
30+ #if defined(AUTODIFF_BACKEND_CPU)
3031#include " ngraph/runtime/cpu/op/batch_mat_mul_transpose.hpp"
3132#include " ngraph/runtime/cpu/pass/cpu_mat_fusion.hpp"
33+ #endif
3234#include " ngraph/runtime/reference/avg_pool.hpp"
3335#include " util/autodiff/backprop_function.hpp"
3436#include " util/autodiff/numeric_compare.hpp"
Original file line number Diff line number Diff line change 3232#include " ngraph/pass/manager.hpp"
3333#include " ngraph/pass/visualize_tree.hpp"
3434#include " ngraph/pattern/matcher.hpp"
35- #include " ngraph/runtime/cpu/pass/cpu_fusion.hpp"
3635#include " ngraph/serializer.hpp"
3736#include " ngraph/util.hpp"
3837#include " util/all_close.hpp"
Original file line number Diff line number Diff line change 2525#include " ngraph/pass/visualize_tree.hpp"
2626#include " ngraph/runtime/backend.hpp"
2727#include " ngraph/runtime/backend_manager.hpp"
28- #include " ngraph/runtime/cpu/cpu_backend.hpp"
2928#include " ngraph/runtime/hybrid/hybrid_backend.hpp"
3029#include " ngraph/runtime/hybrid/hybrid_util.hpp"
3130#include " ngraph/runtime/hybrid/op/function_call.hpp"
@@ -45,7 +44,7 @@ static runtime::Backend* hybrid_creator(const char* config)
4544 vector<string> unsupported_1 = {" Multiply" };
4645 vector<shared_ptr<runtime::Backend>> backend_list = {
4746 make_shared<runtime::interpreter::INTBackend>(unsupported_0),
48- make_shared< runtime::cpu::CPU_Backend>( )};
47+ runtime::Backend::create ( " CPU " )};
4948
5049 return new runtime::hybrid::HybridBackend (backend_list);
5150}
Original file line number Diff line number Diff line change 3939#include " ngraph/pattern/matcher.hpp"
4040#include " ngraph/pattern/op/label.hpp"
4141#include " ngraph/pattern/op/skip.hpp"
42- #include " ngraph/runtime/cpu/pass/cpu_fusion.hpp"
4342#include " ngraph/serializer.hpp"
4443#include " util/matcher.hpp"
4544#include " util/test_tools.hpp"
You can’t perform that action at this time.
0 commit comments