Commit 004cef1b authored by fenglei.tian's avatar fenglei.tian

clean up

parent 94cd8274
...@@ -107,7 +107,6 @@ namespace ngraph ...@@ -107,7 +107,6 @@ namespace ngraph
template <> template <>
void GPU_Emitter::EMITTER_DECL(ngraph::op::Abs) void GPU_Emitter::EMITTER_DECL(ngraph::op::Abs)
{ {
std::cout << "abs" << std::endl;
writer << "{ // " << node->get_name() << "\n"; writer << "{ // " << node->get_name() << "\n";
writer.indent++; writer.indent++;
writer << "int count = " << out[0].get_size() << ";\n"; writer << "int count = " << out[0].get_size() << ";\n";
......
...@@ -46,8 +46,7 @@ namespace ngraph ...@@ -46,8 +46,7 @@ namespace ngraph
const std::vector<GPU_TensorViewWrapper>& args, const std::vector<GPU_TensorViewWrapper>& args,
const std::vector<GPU_TensorViewWrapper>& out) const std::vector<GPU_TensorViewWrapper>& out)
{ {
std::cout << node->get_name() << std::endl; throw std::runtime_error("Unimplemented op in GPU emitter for " + node->get_name());
throw std::runtime_error("Unimplemented op in GPU emitter");
} }
static void nop(GPU_ExternalFunction* external_function, static void nop(GPU_ExternalFunction* external_function,
...@@ -56,7 +55,6 @@ namespace ngraph ...@@ -56,7 +55,6 @@ namespace ngraph
const std::vector<GPU_TensorViewWrapper>& args, const std::vector<GPU_TensorViewWrapper>& args,
const std::vector<GPU_TensorViewWrapper>& out) const std::vector<GPU_TensorViewWrapper>& out)
{ {
std::cout << "nop" << std::endl;
} }
private: private:
......
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