示例#1
0
文件: CUDA.cs 项目: rblenis/cudafy
        public CUMemoryType GetPointerMemoryType(CUPointerAttribute attribute, CUdeviceptr ptr)
        {
            CUMemoryType data = new CUMemoryType();

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