public CUdeviceptr GetHostDevicePointer(IntPtr hostPtr, uint flags) { CUdeviceptr pdptr = new CUdeviceptr(); this.LastError = CUDADriver.cuMemHostGetDevicePointer(ref pdptr, hostPtr, flags); return(pdptr); }