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

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