Library/ManagedCuda/CudaRand/CudaRandDevice.cs
/// <summary>
/// Generate the starting state of the generator.  This function is
/// automatically called by generation functions such as
/// Generate(CudaDeviceVariable) and GenerateUniform(CudaDeviceVariable).
/// It can be called manually for performance testing reasons to separate
/// timings for starting state generation and random number generation.
/// </summary>
Generate the starting state of the generator.  This function is
automatically called by generation functions such as
Generate(CudaDeviceVariable) and GenerateUniform(CudaDeviceVariable).
It can be called manually for performance testing reasons to separate
timings for starting state generation and random number generation.
Generate the starting state of the generator . This function is automatically called by generation functions such as Generate ( CudaDeviceVariable ) and GenerateUniform ( CudaDeviceVariable ) . It can be called manually for performance testing reasons to separate timings for starting state generation and random number generation .
public void GenerateSeeds()
		{
			_status = CudaRandNativeMethods.curandGenerateSeeds(_generator);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "curandGenerateSeeds", _status));
			if (_status != CurandStatus.Success) throw new CudaRandException(_status);
		}
public void GenerateSeeds ( ) { _status = CudaRandNativeMethods . curandGenerateSeeds ( _generator ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , _status ) ) ; if ( _status != CurandStatus . Success ) throw new CudaRandException ( _status ) ; }
Generate the starting state of the generator.
Generate the starting state of the generator .