Function hip_sys::hiprt::hipMemImportFromShareableHandle
source · pub unsafe extern "C" fn hipMemImportFromShareableHandle(
handle: *mut *mut ihipMemGenericAllocationHandle,
osHandle: *mut c_void,
shHandleType: hipMemAllocationHandleType
) -> hipError_tExpand description
@brief Imports an allocation from a requested shareable handle type.
@param [out] handle - returned value. @param [in] osHandle - shareable handle representing the memory allocation. @param [in] shHandleType - handle type. @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.