cubecl_hip_sys

Function hipMemMapArrayAsync

Source
pub unsafe extern "C" fn hipMemMapArrayAsync(
    mapInfoList: *mut hipArrayMapInfo,
    count: c_uint,
    stream: hipStream_t,
) -> hipError_t
Expand description

@brief Maps or unmaps subregions of sparse HIP arrays and sparse HIP mipmapped arrays.

@param [in] mapInfoList - list of hipArrayMapInfo. @param [in] count - number of hipArrayMapInfo in mapInfoList. @param [in] stream - stream identifier for the stream to use for map or unmap operations. @returns #hipSuccess, #hipErrorInvalidValue, #hipErrorNotSupported @warning : This API is marked as beta, meaning, while this is feature complete, it is still open to changes and may have outstanding issues.

@note This API is implemented on Linux, under development on Windows.