public int GetDeviceCount() { int count = 0; this.LastError = CUDADriver.cuDeviceGetCount(ref count); return(count); }