public CUMemoryType GetPointerMemoryType(CUPointerAttribute attribute, CUdeviceptr ptr) { CUMemoryType data = new CUMemoryType(); this.LastError = CUDADriver.cuPointerGetAttribute(ref data, attribute, ptr); return(data); }
public IntPtr GetPointerAttribute(CUPointerAttribute attribute, CUdeviceptr ptr) { IntPtr data = new IntPtr(); this.LastError = CUDADriver.cuPointerGetAttribute(ref data, attribute, ptr); return(data); }
public static extern CUResult cuPointerGetAttributes(uint numAttributes, CUPointerAttribute[] attributes, IntPtr data, CUdeviceptr ptr);
public static extern CUResult cuPointerSetAttribute(ref int value, CUPointerAttribute attribute, CUdeviceptr ptr);
public static extern CUResult cuPointerGetAttribute(ref ulong data, CUPointerAttribute attribute, CUdeviceptr ptr);
public static extern CUResult cuPointerGetAttribute(ref CudaPointerAttributeP2PTokens data, CUPointerAttribute attribute, CUdeviceptr ptr);
public static extern CUResult cuPointerGetAttribute(ref CUMemoryType data, CUPointerAttribute attribute, CUdeviceptr ptr);
public static extern CUResult cuPointerGetAttribute(ref CUcontext ctx, CUPointerAttribute attribute, CUdeviceptr ptr);