Commit a5ea18b1 authored by pruthvi's avatar pruthvi

style-fix

parent 7db0614e
...@@ -512,7 +512,6 @@ namespace ngraph ...@@ -512,7 +512,6 @@ namespace ngraph
#ifdef NGRAPH_CPU_STATIC_LIB_ENABLE #ifdef NGRAPH_CPU_STATIC_LIB_ENABLE
void register_builders_batch_norm_cpp() {} void register_builders_batch_norm_cpp() {}
#endif #endif
} }
} }
} }
...@@ -65,7 +65,8 @@ namespace ...@@ -65,7 +65,8 @@ namespace
public: public:
CPUStaticInit() CPUStaticInit()
{ {
runtime::BackendManager::register_backend("CPU", runtime::cpu::get_backend_constructor_pointer()); runtime::BackendManager::register_backend(
"CPU", runtime::cpu::get_backend_constructor_pointer());
} }
~CPUStaticInit() {} ~CPUStaticInit() {}
} s_cpu_static_init; } s_cpu_static_init;
......
...@@ -65,8 +65,8 @@ ...@@ -65,8 +65,8 @@
#include "ngraph/op/subtract.hpp" #include "ngraph/op/subtract.hpp"
#include "ngraph/op/tan.hpp" #include "ngraph/op/tan.hpp"
#include "ngraph/op/tanh.hpp" #include "ngraph/op/tanh.hpp"
#include "ngraph/runtime/cpu/cpu_kernels.hpp"
#include "ngraph/runtime/cpu/cpu_builder_registry.hpp" #include "ngraph/runtime/cpu/cpu_builder_registry.hpp"
#include "ngraph/runtime/cpu/cpu_kernels.hpp"
#include "ngraph/runtime/cpu/cpu_op_annotations.hpp" #include "ngraph/runtime/cpu/cpu_op_annotations.hpp"
#include "ngraph/runtime/cpu/kernel/abs.hpp" #include "ngraph/runtime/cpu/kernel/abs.hpp"
#include "ngraph/runtime/cpu/kernel/acos.hpp" #include "ngraph/runtime/cpu/kernel/acos.hpp"
......
...@@ -22,7 +22,8 @@ namespace ngraph ...@@ -22,7 +22,8 @@ namespace ngraph
{ {
namespace cpu namespace cpu
{ {
void register_builders() { void register_builders()
{
register_builders_add_cpp(); register_builders_add_cpp();
register_builders_allreduce_cpp(); register_builders_allreduce_cpp();
register_builders_argmax_cpp(); register_builders_argmax_cpp();
......
...@@ -1342,10 +1342,10 @@ void runtime::cpu::CPU_ExternalFunction::build(ngraph::pass::PassConfig& pass_co ...@@ -1342,10 +1342,10 @@ void runtime::cpu::CPU_ExternalFunction::build(ngraph::pass::PassConfig& pass_co
"enabled due to concurrent graph execution"); "enabled due to concurrent graph execution");
} }
// reference all the builders for static library // reference all the builders for static library
#ifdef NGRAPH_CPU_STATIC_LIB_ENABLE #ifdef NGRAPH_CPU_STATIC_LIB_ENABLE
ngraph::runtime::cpu::register_builders(); ngraph::runtime::cpu::register_builders();
#endif #endif
// stream writer to dump the debug manifest for the DEX // stream writer to dump the debug manifest for the DEX
static const string s_debug_dir = "cpu_codegen"; static const string s_debug_dir = "cpu_codegen";
......
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