pub unsafe extern "C" fn hipMemExportToShareableHandle(
shareableHandle: *mut c_void,
handle: hipMemGenericAllocationHandle_t,
handleType: hipMemAllocationHandleType,
flags: c_ulonglong,
) -> hipError_t
Expand 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.
@note This API is implemented on Linux, under development on Windows.