Beispiel #1
0
        public IntPtr HostAllocate(uint size, uint flags)
        {
            IntPtr pp = new IntPtr();

            this.LastError = CUDADriver.cuMemHostAlloc(ref pp, size, flags);
            return(pp);
        }