Ejemplo n.º 1
0
        public CUMemoryType GetPointerMemoryType(CUPointerAttribute attribute, CUdeviceptr ptr)
        {
            CUMemoryType data = new CUMemoryType();

            this.LastError = CUDADriver.cuPointerGetAttribute(ref data, attribute, ptr);
            return(data);
        }
Ejemplo n.º 2
0
 public static extern CUResult cuPointerGetAttribute(ref CUMemoryType data, CUPointerAttribute attribute, CUdeviceptr ptr);