From 12fa4f40d27fe8ba826ed8b799a5257f7ab4a719 Mon Sep 17 00:00:00 2001 From: Marcin Junczys-Dowmunt Date: Fri, 16 Sep 2016 19:03:45 +0200 Subject: [PATCH] removed cudaSetDevice --- src/expression_graph.cu | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/src/expression_graph.cu b/src/expression_graph.cu index 52a68893..fbdaa084 100644 --- a/src/expression_graph.cu +++ b/src/expression_graph.cu @@ -1,8 +1,6 @@ #include #include "expression_graph.h" -using namespace std; - namespace marian { Expr::Expr(ExpressionGraphPtr g, Chainable* chainable) @@ -32,19 +30,10 @@ Expr::operator ChainPtr() { std::string Expr::Debug() const { - stringstream strm; + std::stringstream strm; const Shape &shape = pimpl_->shape(); strm << marian::Debug(shape); return strm.str(); } -/////////////////////////////////////////////////////// -//ExpressionGraph::ExpressionGraph(int cudaDevice) -//: stack_(new ChainableStack) -//{ -// std::srand (time(NULL)); -// cudaSetDevice(0); -// -//} - }