Library/ManagedCuda/CudaRand/CudaRandDevice.cs
/// <summary>
/// Set the current stream for CURAND kernel launches.  All library functions
/// will use this stream until set again.
/// </summary>
/// <param name="stream"></param>
Set the current stream for CURAND kernel launches.  All library functions
will use this stream until set again.
Set the current stream for CURAND kernel launches . All library functions will use this stream until set again .
public void SetStream(CUstream stream)
		{
			_status = CudaRandNativeMethods.curandSetStream(_generator, stream);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "curandSetStream", _status));
			if (_status != CurandStatus.Success) throw new CudaRandException(_status);
		}
public void SetStream ( CUstream stream ) { _status = CudaRandNativeMethods . curandSetStream ( _generator , stream ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , _status ) ) ; if ( _status != CurandStatus . Success ) throw new CudaRandException ( _status ) ; }
Set the current stream for CURAND kernel launches.
Set the current stream for CURAND kernel launches .
stream
CUstream
None