diff --git a/lib/cusparse/generic.jl b/lib/cusparse/generic.jl index 87410f6208..577cd724fd 100644 --- a/lib/cusparse/generic.jl +++ b/lib/cusparse/generic.jl @@ -617,8 +617,8 @@ function sddmm!(transa::SparseChar, transb::SparseChar, alpha::Number, A::DenseC return out[] end with_workspace(bufferSize) do buffer - # Uncomment if we find a way to reuse the buffer (issue #1362) - # cusparseSDDMM_preprocess(handle(), transa, transb, Ref{T}(alpha), descA, descB, Ref{T}(beta), descC, T, algo, buffer) + # We should find a way to reuse the buffer (issue #1362) + cusparseSDDMM_preprocess(handle(), transa, transb, Ref{T}(alpha), descA, descB, Ref{T}(beta), descC, T, algo, buffer) cusparseSDDMM(handle(), transa, transb, Ref{T}(alpha), descA, descB, Ref{T}(beta), descC, T, algo, buffer) end return C