Exemplo n.º 1
0
        public CUdevice GetContextDevice()
        {
            CUdevice device = new CUdevice();

            this.LastError = CUDADriver.cuCtxGetDevice(ref device);
            return(device);
        }