Unverified Commit c1b08b42 authored by Diego Caballero's avatar Diego Caballero Committed by GitHub

[MLIR] Move subgraph extraction pass to contrib (#42)

parent 7c68d855
...@@ -21,6 +21,8 @@ set(SRC ...@@ -21,6 +21,8 @@ set(SRC
compiler.cpp compiler.cpp
lowerer.cpp lowerer.cpp
memory_manager.cpp memory_manager.cpp
pass/mlir_subgraph_extraction.cpp
pass/mlir_subgraph_extraction.hpp
) )
if (NGRAPH_MLIR_ENABLE) if (NGRAPH_MLIR_ENABLE)
......
//***************************************************************************** //*****************************************************************************
// Copyright 2017-2019 Intel Corporation // Copyright 2019 Intel Corporation
// //
// Licensed under the Apache License, Version 2.0 (the "License"); // Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License. // you may not use this file except in compliance with the License.
......
//***************************************************************************** //*****************************************************************************
// Copyright 2017-2019 Intel Corporation // Copyright 2019 Intel Corporation
// //
// Licensed under the Apache License, Version 2.0 (the "License"); // Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License. // you may not use this file except in compliance with the License.
......
...@@ -493,13 +493,6 @@ set(SRC ${SRC} ...@@ -493,13 +493,6 @@ set(SRC ${SRC}
runtime/dynamic/dynamic_backend.hpp runtime/dynamic/dynamic_backend.hpp
) )
# MLIR specific files
set(SRC
${SRC}
pass/mlir_subgraph_extraction.cpp
pass/mlir_subgraph_extraction.hpp
)
if(NGRAPH_JSON_ENABLE) if(NGRAPH_JSON_ENABLE)
list(APPEND SRC serializer.cpp serializer.hpp event_tracing.cpp event_tracing.hpp) list(APPEND SRC serializer.cpp serializer.hpp event_tracing.cpp event_tracing.hpp)
endif() endif()
......
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
#include "ngraph/codegen/execution_engine.hpp" #include "ngraph/codegen/execution_engine.hpp"
#endif #endif
#include "contrib/mlir/pass/mlir_subgraph_extraction.hpp"
#include "ngraph/descriptor/input.hpp" #include "ngraph/descriptor/input.hpp"
#include "ngraph/descriptor/output.hpp" #include "ngraph/descriptor/output.hpp"
#include "ngraph/file_util.hpp" #include "ngraph/file_util.hpp"
...@@ -141,7 +142,6 @@ ...@@ -141,7 +142,6 @@
#include "ngraph/pass/liveness.hpp" #include "ngraph/pass/liveness.hpp"
#include "ngraph/pass/manager.hpp" #include "ngraph/pass/manager.hpp"
#include "ngraph/pass/memory_layout.hpp" #include "ngraph/pass/memory_layout.hpp"
#include "ngraph/pass/mlir_subgraph_extraction.hpp"
#include "ngraph/pass/nop_elimination.hpp" #include "ngraph/pass/nop_elimination.hpp"
#include "ngraph/pass/propagate_cacheability.hpp" #include "ngraph/pass/propagate_cacheability.hpp"
#include "ngraph/pass/reshape_elimination.hpp" #include "ngraph/pass/reshape_elimination.hpp"
......
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