/// <summary cref="CudaAPI.GetPointerAttribute(IntPtr, PointerAttribute, IntPtr)"/> internal override CudaError GetPointerAttribute( IntPtr targetPtr, PointerAttribute attribute, IntPtr devicePtr) { throw new NotSupportedException(RuntimeErrorMessages.CudaNotSupported); }
/// <summary> /// Resolves a pointer-attribute value. /// </summary> /// <param name="targetPtr">The target pointer.</param> /// <param name="attribute">The attribute to resolve.</param> /// <param name="devicePtr">The pointer in device memory.</param> /// <returns>The error status.</returns> internal CudaError GetPointerAttribute( IntPtr targetPtr, PointerAttribute attribute, IntPtr devicePtr) => cuPointerGetAttribute( targetPtr, attribute, devicePtr);
/// <summary cref="CudaAPI.GetPointerAttribute(IntPtr, PointerAttribute, IntPtr)"/> internal override CudaError GetPointerAttribute( IntPtr targetPtr, PointerAttribute attribute, IntPtr devicePtr) { return(cuPointerGetAttribute( targetPtr, attribute, devicePtr)); }
/// <summary> /// Resolves a pointer-attribute value. /// </summary> /// <param name="targetPtr">The target pointer.</param> /// <param name="attribute">The attribute to resolve.</param> /// <param name="devicePtr">The pointer in device memory.</param> /// <returns>The error status.</returns> internal abstract CudaError GetPointerAttribute( IntPtr targetPtr, PointerAttribute attribute, IntPtr devicePtr);
private static extern CudaError cuPointerGetAttribute( [In] IntPtr targetPtr, [In] PointerAttribute attribute, [In] IntPtr devicePtr);
public static extern CuResult PointerGetAttribute(IntPtr data, PointerAttribute attribute, CuDevicePtr ptr);