cubecl_hip_sys

Function hipMemRangeGetAttribute

Source
pub unsafe extern "C" fn hipMemRangeGetAttribute(
    data: *mut c_void,
    data_size: usize,
    attribute: hipMemRangeAttribute,
    dev_ptr: *const c_void,
    count: usize,
) -> hipError_t
Expand description

@brief Query an attribute of a given memory range in HIP.

@param [in,out] data a pointer to a memory location where the result of each attribute query will be written to @param [in] data_size the size of data @param [in] attribute the attribute to query @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.