hipMemImportFromShareableHandle

Function hipMemImportFromShareableHandle 

Source
pub unsafe extern "C" fn hipMemImportFromShareableHandle(
    handle: *mut hipMemGenericAllocationHandle_t,
    osHandle: *mut c_void,
    shHandleType: hipMemAllocationHandleType,
) -> hipError_t
Expand 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. While this feature is complete, it can change and might have outstanding issues.

@note This API is implemented on Linux and is under development on Microsoft Windows.