Skip to content

Commit

Permalink
fix gpu dot
Browse files Browse the repository at this point in the history
  • Loading branch information
tqchen committed Oct 27, 2015
1 parent d61c768 commit 3b40a9c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions mshadow/dot_engine-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,6 @@ struct BLASEngine<gpu> {
CHECK_EQ(err, CUBLAS_STATUS_SUCCESS) << "Cublas: Dot fail";
cublasSetPointerMode(Stream<gpu>::GetBlasHandle(stream),
CUBLAS_POINTER_MODE_HOST);
return ret;
}
inline static void dot(Stream<gpu> *stream,
int n,
Expand All @@ -248,7 +247,6 @@ struct BLASEngine<gpu> {
CHECK_EQ(err, CUBLAS_STATUS_SUCCESS) << "Cublas: Dot fail";
cublasSetPointerMode(Stream<gpu>::GetBlasHandle(stream),
CUBLAS_POINTER_MODE_HOST);
return ret;
}
};
#endif // MSHADOW_USE_CUDA
Expand Down

0 comments on commit 3b40a9c

Please sign in to comment.