hipPointerGetAttribute

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

@returns #hipSuccess, #hipErrorInvalidDevice, #hipErrorInvalidValue

@warning This API is marked as Beta. While this feature is complete, it can change and might have outstanding issues.

@see hipPointerGetAttributes