From 3b40a9c8db5c44b98d48653709e091640dd1974b Mon Sep 17 00:00:00 2001 From: tqchen Date: Mon, 26 Oct 2015 20:51:22 -0700 Subject: [PATCH] fix gpu dot --- mshadow/dot_engine-inl.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/mshadow/dot_engine-inl.h b/mshadow/dot_engine-inl.h index 99c917ac129b..6a1d4e123bee 100644 --- a/mshadow/dot_engine-inl.h +++ b/mshadow/dot_engine-inl.h @@ -234,7 +234,6 @@ struct BLASEngine { CHECK_EQ(err, CUBLAS_STATUS_SUCCESS) << "Cublas: Dot fail"; cublasSetPointerMode(Stream::GetBlasHandle(stream), CUBLAS_POINTER_MODE_HOST); - return ret; } inline static void dot(Stream *stream, int n, @@ -248,7 +247,6 @@ struct BLASEngine { CHECK_EQ(err, CUBLAS_STATUS_SUCCESS) << "Cublas: Dot fail"; cublasSetPointerMode(Stream::GetBlasHandle(stream), CUBLAS_POINTER_MODE_HOST); - return ret; } }; #endif // MSHADOW_USE_CUDA