cubecl_hip_sys

Function hipGraphicsMapResources

Source
pub unsafe extern "C" fn hipGraphicsMapResources(
    count: c_int,
    resources: *mut hipGraphicsResource_t,
    stream: hipStream_t,
) -> hipError_t
Expand description

@brief Maps a graphics resource for access.

@param [in] count - Number of resources to map. @param [in] resources - Pointer of resources to map. @param [in] stream - Stream for synchronization.

@returns #hipSuccess, #hipErrorInvalidValue, #hipErrorUnknown, #hipErrorInvalidResourceHandle