Library/ManagedCuda/CudaSolve/CudaSolveDense.cs
/// <summary>
/// This function sets the stream to be used by the cuSolverDN library to execute its routines.
/// </summary>
/// <param name="stream">the stream to be used by the library.</param>
This function sets the stream to be used by the cuSolverDN library to execute its routines.
This function sets the stream to be used by the cuSolverDN library to execute its routines .
public void SetStream(CudaStream stream)
		{
			res = CudaSolveNativeMethods.Dense.cusolverDnSetStream(_handle, stream.Stream);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "cusolverDnSetStream", res));
			if (res != cusolverStatus.Success) throw new CudaSolveException(res);
		}
public void SetStream ( CudaStream stream ) { res = CudaSolveNativeMethods . Dense . cusolverDnSetStream ( _handle , stream . Stream ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , res ) ) ; if ( res != cusolverStatus . Success ) throw new CudaSolveException ( res ) ; }
This function sets the stream to be used by the cuSolverDN library to execute its routines.
This function sets the stream to be used by the cuSolverDN library to execute its routines .
stream
CudaStream
the stream to be used by the library.
the stream to be used by the library .