Library/ManagedCuda/CudaSolve/CudaSolveSparse.cs
/// <summary>
/// This function gets the stream to be used by the cuSolverSP library to execute its routines.
/// </summary>
This function gets the stream to be used by the cuSolverSP library to execute its routines.
This function gets the stream to be used by the cuSolverSP library to execute its routines .
public CudaStream GetStream()
		{
			CUstream stream = new CUstream();
			res = CudaSolveNativeMethods.Sparse.cusolverSpGetStream(_handle, ref stream);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "cusolverSpGetStream", res));
			if (res != cusolverStatus.Success) throw new CudaSolveException(res);
			return new CudaStream(stream);
		}
public CudaStream GetStream ( ) { CUstream stream = new CUstream ( ) ; res = CudaSolveNativeMethods . Sparse . cusolverSpGetStream ( _handle , ref stream ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , res ) ) ; if ( res != cusolverStatus . Success ) throw new CudaSolveException ( res ) ; return new CudaStream ( stream ) ; }
This function gets the stream to be used by the cuSolverSP library to execute its routines.
This function gets the stream to be used by the cuSolverSP library to execute its routines .