예제 #1
0
파일: CUDA.cs 프로젝트: rblenis/cudafy
        public CUdeviceptr GetHostDevicePointer(IntPtr hostPtr, uint flags)
        {
            CUdeviceptr pdptr = new CUdeviceptr();

            this.LastError = CUDADriver.cuMemHostGetDevicePointer(ref pdptr, hostPtr, flags);
            return(pdptr);
        }