Function hip_sys::hiprt::hipMemExportToShareableHandle
source · pub unsafe extern "C" fn hipMemExportToShareableHandle(
shareableHandle: *mut c_void,
handle: *mut ihipMemGenericAllocationHandle,
handleType: hipMemAllocationHandleType,
flags: u64
) -> hipError_tExpand description
@brief Exports an allocation to a requested shareable handle type.
@param [out] shareableHandle - value of the returned handle. @param [in] handle - handle to share. @param [in] handleType - type of the shareable handle. @param [in] flags - currently unused, must be zero. @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.