Late Attach#
NvSciSync provides a mechanism for an application to allocate an NvSciSyncObj
that will be shared with other peers, without requiring each peer to have sent an unreconciled NvSciSyncAttrList
during initial reconciliation. The constraints of late attach waiter peers, however, should be passed using unreconciled NvSciSyncAttrList
during the reconciliation process by the application to ensure the NvSciSyncObj
is allocated to satisfy the constraints of the late peers.
NvSciSync
also allows remote peer NvSciIpcEndpoint
to gain access to already allocated NvSciSyncObj
, provided the already allocated NvSciSyncObj
satisfies the constraints of the unreconciled NvSciSyncAttrList
, received from that peer, through the NvSciSyncObjAttachPeer()
API. NvSciSync provides attribute keys such as NvSciSyncAttrKey_PeerLocationInfo
, NvSciSyncAttrKey_PrimitiveInfo
and NvSciSyncAttrKey_PeerHwEngineArray
that needs to be specified in the proxy unreconciled NvSciSyncAttrList
during initial reconciliation.
Note
Detailed descriptions of the attribute keys and the APIs are in the NVIDIA DriveOS API Reference.
Application needs to refer to User Mode Driver (UMD) documentation for details of how to specify the
NvSciSyncAttrKey_PrimitiveInfo
andNvSciSyncAttrKey_PeerHwEngineArray
keys.