cubecl_hip_sys

Function hipPointerGetAttribute

Source
pub unsafe extern "C" fn hipPointerGetAttribute(
    data: *mut c_void,
    attribute: hipPointer_attribute,
    ptr: hipDeviceptr_t,
) -> hipError_t
Expand description

@brief Returns information about the specified pointer.[BETA]

@param [in, out] data Returned pointer attribute value @param [in] attribute Attribute to query for @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 hipPointerGetAttributes