Exemple #1
0
 internal CudaRAND(GPGPU gpu, curandRngType rng_type)
 {
     _gpu = gpu;
     if (IntPtr.Size == 8)
     {
         _driver = new CURANDDriver64();
     }
     else
     {
         _driver = new CURANDDriver32();
     }
 }
Exemple #2
0
 internal CudaRAND(GPGPU gpu, curandRngType rng_type)
 {
     _gpu = gpu;
     if (IntPtr.Size == 8)
     {
         _driver = new CURANDDriver64();
     }
     else
     {
         _driver = new CURANDDriver32();
     }
 }