internal CudaRAND(GPGPU gpu, curandRngType rng_type) { _gpu = gpu; if (IntPtr.Size == 8) { _driver = new CURANDDriver64(); } else { _driver = new CURANDDriver32(); } }
internal CudaRAND(GPGPU gpu, curandRngType rng_type) { _gpu = gpu; if (IntPtr.Size == 8) { _driver = new CURANDDriver64(); } else { throw new NotSupportedException(); //_driver = new CURANDDriver32(); } }