cubecl_hip_sys

Function hipDrvPointerGetAttributes

Source
pub unsafe extern "C" fn hipDrvPointerGetAttributes(
    numAttributes: c_uint,
    attributes: *mut hipPointer_attribute,
    data: *mut *mut c_void,
    ptr: hipDeviceptr_t,
) -> hipError_t
Expand 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

@warning 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