Function hip_sys::hiprt::hipPointerGetAttribute
source · pub unsafe extern "C" fn hipPointerGetAttribute(
data: *mut c_void,
attribute: hipPointer_attribute,
ptr: *mut c_void
) -> hipError_tExpand description
@brief Returns information about the specified pointer.[BETA]
@param [in, out] data returned pointer attribute value @param [in] atribute attribute to query for @param [in] ptr pointer to get attributes for
@return #hipSuccess, #hipErrorInvalidDevice, #hipErrorInvalidValue
@beta This API is marked as beta, meaning, while this is feature complete, it is still open to changes and may have outstanding issues.
@see hipPointerGetAttributes