pub unsafe extern "C" fn hipMemRangeGetAttributes(
data: *mut *mut c_void,
data_sizes: *mut usize,
attributes: *mut hipMemRangeAttribute,
num_attributes: usize,
dev_ptr: *const c_void,
count: usize,
) -> hipError_t
Expand description
@brief Query attributes of a given memory range in HIP.
@param [in,out] data a two-dimensional array containing pointers to memory locations where the result of each attribute query will be written to @param [in] data_sizes an array, containing the sizes of each result @param [in] attributes the attribute to query @param [in] num_attributes an array of attributes to query (numAttributes and the number of attributes in this array should match) @param [in] dev_ptr start of the range to query @param [in] count size of the range to query
@returns #hipSuccess, #hipErrorInvalidValue
@note This API is implemented on Linux, under development on Windows.