chrishkchris commented on a change in pull request #716:
URL: https://github.com/apache/singa/pull/716#discussion_r436274471
##########
File path: src/io/communicator.cc
##########
@@ -134,7 +131,6 @@ void Communicator::sparsInit() {
CUDA_CHECK(cudaMalloc(&xInd, (int)(sizeof(int) * maxSize)));
CUDA_CHECK(cudaMalloc(&xVal, (int)(sizeof(float) * maxSize)));
CUSPARSE_CHECK(cusparseCreate(&cusparse_handle));
- CUSPARSE_CHECK(cusparseSetStream(cusparse_handle, c2));
Review comment:
Yes, now the stream is not in the communicator.
Even in the orginal version, I was using different streams for different
operations in cusparse.
The API let me select the cuda stream for cusparse right before calling the
cusparse operators, it let the users to use different streams for different
cusparse operations
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]