示例#1
0
文件: CUDA.cs 项目: rblenis/cudafy
        public CUdevice GetContextDevice()
        {
            CUdevice device = new CUdevice();

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