cubecl_hip_sys

Function hipImportExternalMemory

Source
pub unsafe extern "C" fn hipImportExternalMemory(
    extMem_out: *mut hipExternalMemory_t,
    memHandleDesc: *const hipExternalMemoryHandleDesc,
) -> hipError_t
Expand description

@brief Imports an external memory object.

@param[out] extMem_out Returned handle to an external memory object @param[in] memHandleDesc Memory import handle descriptor

@return #hipSuccess, #hipErrorInvalidDevice, #hipErrorInvalidValue

@see