hipDrvPointerGetAttributes

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

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