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 IntPtr GetPointerAttribute(CUPointerAttribute attribute, CUdeviceptr ptr)
        {
            IntPtr data = new IntPtr();

            this.LastError = CUDADriver.cuPointerGetAttribute(ref data, attribute, ptr);
            return(data);
        }
Ejemplo n.º 3
0
			public static extern CUResult cuPointerGetAttributes(uint numAttributes, CUPointerAttribute[] attributes,  IntPtr data, CUdeviceptr ptr);
Ejemplo n.º 4
0
			public static extern CUResult cuPointerSetAttribute(ref int value, CUPointerAttribute attribute, CUdeviceptr ptr);
Ejemplo n.º 5
0
			public static extern CUResult cuPointerGetAttribute(ref ulong data, CUPointerAttribute attribute, CUdeviceptr ptr);
Ejemplo n.º 6
0
			public static extern CUResult cuPointerGetAttribute(ref CudaPointerAttributeP2PTokens data, CUPointerAttribute attribute, CUdeviceptr ptr);
Ejemplo n.º 7
0
 public static extern CUResult cuPointerGetAttribute(ref CUMemoryType data, CUPointerAttribute attribute, CUdeviceptr ptr);
Ejemplo n.º 8
0
 public static extern CUResult cuPointerGetAttribute(ref CUcontext ctx, CUPointerAttribute attribute, CUdeviceptr ptr);