コード例 #1
0
 public CudaRandom()
 {
     cpuAllocator = new CpuAllocator();
     cpuRandom    = new CpuRandom();
 }
コード例 #2
0
ファイル: CudaRandom.cs プロジェクト: SciSharp/TensorSharp
 /// <summary>
 /// Initializes a new instance of the <see cref="CudaRandom"/> class.
 /// </summary>
 public CudaRandom()
 {
     this.cpuAllocator = new CpuAllocator();
     this.cpuRandom    = new CpuRandom();
 }