Library/ManagedCuda/CudaRand/CudaRandDevice.cs
/// <summary>
/// Use generator to generate num 64-bit results into the device memory at
/// output. The device memory must have been previously allocated and be
/// large enough to hold all the results.  Launches are done with the stream
/// set using <see cref="SetStream(CUstream)"/>, or the null stream if no stream has been set.
/// <para/>
/// Results are 64-bit values with every bit random.
/// </summary>
/// <param name="output">DevicePtr of type ulong*</param>
/// <param name="size">Number of random elements to create</param>
Use generator to generate num 64-bit results into the device memory at
output. The device memory must have been previously allocated and be
large enough to hold all the results.  Launches are done with the stream
set using , or the null stream if no stream has been set.

Results are 64-bit values with every bit random.
Use generator to generate num 64 - bit results into the device memory at output . The device memory must have been previously allocated and be large enough to hold all the results . Launches are done with the stream set using or the null stream if no stream has been set . Results are 64 - bit values with every bit random .
public void Generate64(CUdeviceptr output, SizeT size)
		{
			_status = CudaRandNativeMethods.curandGenerateLongLong(_generator, output, size);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "curandGenerateLongLong", _status));
			if (_status != CurandStatus.Success) throw new CudaRandException(_status);
		}
public void Generate64 ( CUdeviceptr output , SizeT size ) { _status = CudaRandNativeMethods . curandGenerateLongLong ( _generator , output , size ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , _status ) ) ; if ( _status != CurandStatus . Success ) throw new CudaRandException ( _status ) ; }
Use generator to generate num 64-bit results into the device memory at
output.
Use generator to generate num 64 - bit results into the device memory at output .
output
CUdeviceptr
DevicePtr of type ulong
DevicePtr of type ulong
size
SizeT
Number of random elements to create
Number of random elements to create