Function hip_sys::hiprt::hipDrvPointerGetAttributes
source · pub unsafe extern "C" fn hipDrvPointerGetAttributes(
numAttributes: u32,
attributes: *mut hipPointer_attribute,
data: *mut *mut c_void,
ptr: *mut c_void
) -> hipError_tExpand description
@brief Returns information about the specified pointer.[BETA]
@param [in] numAttributes number of attributes to query for @param [in] attributes attributes to query for @param [in, out] data a two-dimensional containing pointers to memory locations where the result of each attribute query will be written to @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 hipPointerGetAttribute