NVIDIA DRIVE OS Linux SDK API Reference

5.2.6 Release
For Test and Development only
nvscisync.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2019-2021, NVIDIA CORPORATION. All rights reserved.
3  *
4  * NVIDIA Corporation and its licensors retain all intellectual property
5  * and proprietary rights in and to this software, related documentation
6  * and any modifications thereto. Any use, reproduction, disclosure or
7  * distribution of this software and related documentation without an express
8  * license agreement from NVIDIA Corporation is strictly prohibited.
9  */
18 #ifndef INCLUDED_NVSCISYNC_H
19 #define INCLUDED_NVSCISYNC_H
20 
144 #if !defined (__cplusplus)
145 #include <stddef.h>
146 #include <stdbool.h>
147 #include <stdint.h>
148 #endif
149 
150 #include <nvscierror.h>
151 #include <nvsciipc.h>
152 
153 #if defined (__cplusplus)
154 extern "C"
155 {
156 #endif
157 
163 static const uint32_t NvSciSyncMajorVersion = 2U;
164 
170 static const uint32_t NvSciSyncMinorVersion = 0U;
171 
177 static const int64_t NvSciSyncFenceMaxTimeout = (0x7fffffffffffffff / 1000);
178 
190 typedef struct NvSciSyncModuleRec* NvSciSyncModule;
191 
202 typedef struct NvSciSyncCpuWaitContextRec* NvSciSyncCpuWaitContext;
203 
224 #if (NV_IS_SAFETY == 0)
225 
230 #endif
231 
234 typedef struct {
235  uint64_t payload[6];
237 
245 
252 typedef struct {
253  uint64_t payload[7];
255 
262 typedef struct {
264  uint64_t payload[128];
266 
274 #if (NV_IS_SAFETY == 0)
275 
280 #endif
281 
289 typedef struct NvSciSyncObjRec* NvSciSyncObj;
290 
295 typedef const struct NvSciSyncObjRec* NvSciSyncObjConst;
296 
308 typedef struct NvSciSyncAttrListRec* NvSciSyncAttrList;
309 
315 typedef enum {
320  NvSciSyncAccessPerm_WaitOnly = (uint64_t)1U << 0U,
325  NvSciSyncAccessPerm_SignalOnly = (uint64_t)1U << 1U,
337  NvSciSyncAccessPerm_Auto = (uint64_t)1U << 63U,
339 
352 typedef enum {
433 
441 typedef struct {
447  const void* value;
449  size_t len;
451 
469  NvSciSyncModule* newModule);
470 
487  NvSciSyncModule module);
488 
507  NvSciSyncModule module,
508  NvSciSyncCpuWaitContext* newContext);
509 
519  NvSciSyncCpuWaitContext context);
520 
539  NvSciSyncModule module,
540  NvSciSyncAttrList* attrList);
541 
551  NvSciSyncAttrList attrList);
552 
565  NvSciSyncAttrList attrList,
566  bool* isReconciled);
567 
603  NvSciSyncAttrList reconciledAttrList,
604  const NvSciSyncAttrList inputUnreconciledAttrListArray[],
605  size_t inputUnreconciledAttrListCount,
606  bool* isReconciledListValid);
607 
639  NvSciSyncAttrList attrList,
640  const NvSciSyncAttrKeyValuePair* pairArray,
641  size_t pairCount);
642 
669  NvSciSyncAttrList attrList,
670  NvSciSyncAttrKeyValuePair* pairArray,
671  size_t pairCount);
672 
681  NvSciSyncAttrList attrList);
682 
719  const NvSciSyncAttrList inputUnreconciledAttrListArray[],
720  size_t inputUnreconciledAttrListCount,
721  NvSciSyncAttrList* newUnreconciledAttrList);
722 
746  NvSciSyncAttrList origAttrList,
747  NvSciSyncAttrList* newAttrList);
748 
787  NvSciSyncAttrList attrList,
788  size_t slotIndex,
789  NvSciSyncAttrKeyValuePair* pairArray,
790  size_t pairCount);
791 
800 #if (NV_IS_SAFETY == 0)
801 
807 #endif
808 
818 #if (NV_IS_SAFETY == 0)
819 
824 #else
825 
828 #endif
829 
842 #if (NV_IS_SAFETY == 0)
843 
845 #endif
846 
859  const NvSciSyncAttrList inputArray[],
860  size_t inputCount,
861  NvSciSyncAttrList* newReconciledList,
862  NvSciSyncAttrList* newConflictList);
863 
864 #if (NV_IS_SAFETY == 0)
865 
881  NvSciSyncAttrList attrList,
882  void** buf,
883  size_t* len);
884 #endif
885 
928  const NvSciSyncAttrList unreconciledAttrListArray[],
929  size_t unreconciledAttrListCount,
930  NvSciIpcEndpoint ipcEndpoint,
931  void** descBuf,
932  size_t* descLen);
933 
962  const NvSciSyncAttrList reconciledAttrList,
963  NvSciIpcEndpoint ipcEndpoint,
964  void** descBuf,
965  size_t* descLen);
966 
998  NvSciSyncModule module,
999  NvSciIpcEndpoint ipcEndpoint,
1000  const void* descBuf,
1001  size_t descLen,
1002  NvSciSyncAttrList* importedUnreconciledAttrList);
1003 
1061  NvSciSyncModule module,
1062  NvSciIpcEndpoint ipcEndpoint,
1063  const void* descBuf,
1064  size_t descLen,
1065  const NvSciSyncAttrList inputUnreconciledAttrListArray[],
1066  size_t inputUnreconciledAttrListCount,
1067  NvSciSyncAttrList* importedReconciledAttrList);
1068 
1078  void* descBuf);
1079 
1090 void NvSciSyncFenceClear(
1091  NvSciSyncFence* syncFence);
1092 
1114  const NvSciSyncFence* srcSyncFence,
1115  NvSciSyncFence* dstSyncFence);
1116 
1140  NvSciSyncAttrList reconciledList,
1141  NvSciSyncObj* syncObj);
1142 
1167  NvSciSyncObj syncObj,
1168  NvSciSyncObj* dupObj);
1169 
1188  NvSciSyncObj syncObj,
1189  NvSciSyncAttrList* syncAttrList);
1190 
1200 void NvSciSyncObjFree(
1201  NvSciSyncObj syncObj);
1202 
1232  NvSciSyncObj syncObj,
1233  NvSciSyncAccessPerm permissions,
1234  NvSciIpcEndpoint ipcEndpoint,
1236 
1284  NvSciIpcEndpoint ipcEndpoint,
1285  const NvSciSyncObjIpcExportDescriptor* desc,
1286  NvSciSyncAttrList inputAttrList,
1287  NvSciSyncAccessPerm permissions,
1288  int64_t timeoutUs,
1289  NvSciSyncObj* syncObj);
1290 
1315  const NvSciSyncFence* syncFence,
1316  NvSciIpcEndpoint ipcEndpoint,
1318 
1343  NvSciSyncObj syncObj,
1345  NvSciSyncFence* syncFence);
1346 
1366  NvSciSyncObj syncObj,
1367  NvSciSyncFence* syncFence);
1368 
1385  NvSciSyncObj syncObj);
1386 
1423  const NvSciSyncFence* syncFence,
1424  NvSciSyncCpuWaitContext context,
1425  int64_t timeoutUs);
1426 
1427 #if (NV_IS_SAFETY == 0)
1428 
1446  const NvSciSyncFence* syncFence,
1447  uint64_t* timestampUS);
1448 #endif
1449 
1450 /*
1451  * NvSciSync Utility functions
1452  */
1453 
1477  NvSciSyncAttrList attrList,
1478  NvSciSyncAttrKey key,
1479  const void** value,
1480  size_t* len);
1481 
1499 #if (NV_IS_SAFETY == 0)
1500 
1506 #else
1507 
1510 #endif
1511 
1524 #if (NV_IS_SAFETY == 0)
1525 
1527 #endif
1528 
1540  const NvSciSyncAttrList inputArray[],
1541  size_t inputCount,
1542  NvSciSyncObj* syncObj,
1543  NvSciSyncAttrList* newConflictList);
1544 
1578  NvSciSyncObj syncObj,
1579  NvSciSyncAccessPerm permissions,
1580  NvSciIpcEndpoint ipcEndpoint,
1581  void** attrListAndObjDesc,
1582  size_t* attrListAndObjDescSize);
1583 
1593  void* attrListAndObjDescBuf);
1594 
1650  NvSciSyncModule module,
1651  NvSciIpcEndpoint ipcEndpoint,
1652  const void* attrListAndObjDesc,
1653  size_t attrListAndObjDescSize,
1654  NvSciSyncAttrList const attrList[],
1655  size_t attrListCount,
1656  NvSciSyncAccessPerm minPermissions,
1657  int64_t timeoutUs,
1658  NvSciSyncObj* syncObj);
1659 
1680  uint32_t majorVer,
1681  uint32_t minorVer,
1682  bool* isCompatible);
1683 
1684 #if defined(__cplusplus)
1685 }
1686 #endif // __cplusplus
1687 
1688 #endif // INCLUDED_NVSCISYNC_H
NvSciSyncFenceClear
void NvSciSyncFenceClear(NvSciSyncFence *syncFence)
Frees any resources allocated for the NvSciSyncFence.
NvSciError
NvSciError
Return/error codes for all NvSci functions.
Definition: nvscierror.h:45
NvSciSyncAttrListAndObjFreeDesc
void NvSciSyncAttrListAndObjFreeDesc(void *attrListAndObjDescBuf)
Frees an NvSciSyncIpcExportAttrListAndObj descriptor returned by a successful call to NvSciSyncIpcExp...
NvSciSyncIpcImportFence
NvSciError NvSciSyncIpcImportFence(NvSciSyncObj syncObj, const NvSciSyncFenceIpcExportDescriptor *desc, NvSciSyncFence *syncFence)
Fills in the NvSciSyncFence based on the input binary descriptor.
NvSciSyncAttrKey_NeedCpuAccess
@ NvSciSyncAttrKey_NeedCpuAccess
(bool, inout) Specifies if CPU access is required.
Definition: nvscisync.h:375
NvSciSyncObjIpcExport
NvSciError NvSciSyncObjIpcExport(NvSciSyncObj syncObj, NvSciSyncAccessPerm permissions, NvSciIpcEndpoint ipcEndpoint, NvSciSyncObjIpcExportDescriptor *desc)
Exports an NvSciSyncObj into an NvSciIpc-transferable object binary descriptor.
NvSciSyncObjIpcImport
NvSciError NvSciSyncObjIpcImport(NvSciIpcEndpoint ipcEndpoint, const NvSciSyncObjIpcExportDescriptor *desc, NvSciSyncAttrList inputAttrList, NvSciSyncAccessPerm permissions, int64_t timeoutUs, NvSciSyncObj *syncObj)
Creates and returns an NvSciSyncObj based on the supplied binary descriptor describing an exported Nv...
NvSciSyncAttrListFreeDesc
void NvSciSyncAttrListFreeDesc(void *descBuf)
Frees an exported NvSciSyncAttrList descriptor previously returned by any NvSciSyncAttrList exporting...
NvSciSyncIpcImportAttrListAndObj
NvSciError NvSciSyncIpcImportAttrListAndObj(NvSciSyncModule module, NvSciIpcEndpoint ipcEndpoint, const void *attrListAndObjDesc, size_t attrListAndObjDescSize, NvSciSyncAttrList const attrList[], size_t attrListCount, NvSciSyncAccessPerm minPermissions, int64_t timeoutUs, NvSciSyncObj *syncObj)
Creates an NvSciSyncObj based on the supplied binary descriptor returned from a successful call to Nv...
NvSciSyncAccessPerm_SignalOnly
@ NvSciSyncAccessPerm_SignalOnly
This represents the capability to advance an NvSciSyncObj to its next point on its sync timeline.
Definition: nvscisync.h:325
NvSciSyncAttrKeyValuePair::len
size_t len
Length of the value in bytes.
Definition: nvscisync.h:449
NvSciSyncAttrKey_LowerBound
@ NvSciSyncAttrKey_LowerBound
Specifies the lower bound - for NvSciSync internal use only.
Definition: nvscisync.h:354
NvSciSyncCpuWaitContextFree
void NvSciSyncCpuWaitContextFree(NvSciSyncCpuWaitContext context)
Releases the NvSciSyncCpuWaitContext.
NvSciSyncAttrListSetAttrs
NvSciError NvSciSyncAttrListSetAttrs(NvSciSyncAttrList attrList, const NvSciSyncAttrKeyValuePair *pairArray, size_t pairCount)
Sets the values for NvSciSyncAttrKey(s) in slot 0 of the input NvSciSyncAttrList.
NvSciSyncAttrKeyValuePair::attrKey
NvSciSyncAttrKey attrKey
NvSciSyncAttrKey for which value needs to be set/retrieved.
Definition: nvscisync.h:445
NvSciSyncIpcExportFence
NvSciError NvSciSyncIpcExportFence(const NvSciSyncFence *syncFence, NvSciIpcEndpoint ipcEndpoint, NvSciSyncFenceIpcExportDescriptor *desc)
Exports the input NvSciSyncFence into a binary descriptor shareable across the NvSciIpc channel.
NvSciSyncAttrListIpcImportReconciled
NvSciError NvSciSyncAttrListIpcImportReconciled(NvSciSyncModule module, NvSciIpcEndpoint ipcEndpoint, const void *descBuf, size_t descLen, const NvSciSyncAttrList inputUnreconciledAttrListArray[], size_t inputUnreconciledAttrListCount, NvSciSyncAttrList *importedReconciledAttrList)
Translates an exported reconciled NvSciSyncAttrList descriptor (potentially received from any process...
NvSciSyncMajorVersion
static const uint32_t NvSciSyncMajorVersion
NvSciSync major version number.
Definition: nvscisync.h:163
NvSciSyncAttrList
struct NvSciSyncAttrListRec * NvSciSyncAttrList
A container constituting an NvSciSyncAttrList which contains:
Definition: nvscisync.h:308
NvSciSyncCpuWaitContextAlloc
NvSciError NvSciSyncCpuWaitContextAlloc(NvSciSyncModule module, NvSciSyncCpuWaitContext *newContext)
Allocates a new NvSciSyncCpuWaitContext.
NvSciSyncObjFree
void NvSciSyncObjFree(NvSciSyncObj syncObj)
Destroys a valid NvSciSyncObj and frees any resources that were allocated for it.
NvSciSyncAttrKey_WaiterRequireTimestamps
@ NvSciSyncAttrKey_WaiterRequireTimestamps
(bool, inout) Specifies if timestamps are required.
Definition: nvscisync.h:429
NvSciSyncAttrKeyValuePair::value
const void * value
Memory which contains the value corresponding to the key.
Definition: nvscisync.h:447
NvSciSyncFenceMaxTimeout
static const int64_t NvSciSyncFenceMaxTimeout
Maximum supported timeout value.
Definition: nvscisync.h:177
NvSciSyncObjGenerateFence
NvSciError NvSciSyncObjGenerateFence(NvSciSyncObj syncObj, NvSciSyncFence *syncFence)
Generates next point on sync timeline of an NvSciSyncObj and fills in the supplied NvSciSyncFence obj...
NvSciSyncAttrListGetAttrs
NvSciError NvSciSyncAttrListGetAttrs(NvSciSyncAttrList attrList, NvSciSyncAttrKeyValuePair *pairArray, size_t pairCount)
Gets the value of NvSciSyncAttrKey from slot 0 of the input NvSciSyncAttrList.
NvSciSyncAttrListIsReconciled
NvSciError NvSciSyncAttrListIsReconciled(NvSciSyncAttrList attrList, bool *isReconciled)
Checks if the NvSciSyncAttrList is reconciled.
NvSciSyncFenceGetTimestamp
NvSciError NvSciSyncFenceGetTimestamp(const NvSciSyncFence *syncFence, uint64_t *timestampUS)
Read the timestamp associated with the NvSciSyncFence.
NvSciSyncObjConst
const struct NvSciSyncObjRec * NvSciSyncObjConst
A reference, that is not modifiable, to a particular Synchronization Object.
Definition: nvscisync.h:295
NvSciSyncModuleClose
void NvSciSyncModuleClose(NvSciSyncModule module)
Releases an instance of the NvSciSyncModule that was obtained through an earlier call to NvSciSyncMod...
NvSciSyncAccessPerm_WaitOnly
@ NvSciSyncAccessPerm_WaitOnly
This represents the capability to monitor an NvSciSyncObj as it progresses through points on its sync...
Definition: nvscisync.h:320
NvSciSyncObjIpcExportDescriptor
Defines the exported form of NvSciSyncObj intended to be shared across an NvSciIpc channel.
Definition: nvscisync.h:262
nvsciipc.h
NVIDIA Software Communications Interface (SCI) : NvSci Inter-Process Communication
NvSciSyncAttrListGetAttr
NvSciError NvSciSyncAttrListGetAttr(NvSciSyncAttrList attrList, NvSciSyncAttrKey key, const void **value, size_t *len)
Gets the attribute value from the slot 0 of the passed NvSciSyncAttrList with the given NvSciSyncAttr...
NvSciSyncAttrKey
NvSciSyncAttrKey
Describes the NvSciSync public attribute keys holding corresponding values specifying synchronization...
Definition: nvscisync.h:352
NvSciSyncObjAlloc
NvSciError NvSciSyncObjAlloc(NvSciSyncAttrList reconciledList, NvSciSyncObj *syncObj)
Allocates and initializes a NvSciSyncObj that meets all the constraints specified in the given reconc...
NvSciIpcEndpoint
uint64_t NvSciIpcEndpoint
Handle to the NvSciIpc endpoint.
Definition: nvsciipc.h:222
NvSciSyncObjDup
NvSciError NvSciSyncObjDup(NvSciSyncObj syncObj, NvSciSyncObj *dupObj)
Creates a new NvSciSyncObj holding a reference to the original resources to which the input NvSciSync...
NvSciSyncCheckVersionCompatibility
NvSciError NvSciSyncCheckVersionCompatibility(uint32_t majorVer, uint32_t minorVer, bool *isCompatible)
Checks if loaded library version is compatible with the supplied library build version.
NvSciSyncAttrListIpcExportUnreconciled
NvSciError NvSciSyncAttrListIpcExportUnreconciled(const NvSciSyncAttrList unreconciledAttrListArray[], size_t unreconciledAttrListCount, NvSciIpcEndpoint ipcEndpoint, void **descBuf, size_t *descLen)
Transforms the input unreconciled NvSciSyncAttrList(s) to an exportable unreconciled NvSciSyncAttrLis...
NvSciSyncAttrKeyValuePair
This structure defines a key/value pair used to get or set the NvSciSyncAttrKey(s) and their correspo...
Definition: nvscisync.h:441
NvSciSyncAttrKey_RequiredPerm
@ NvSciSyncAttrKey_RequiredPerm
(NvSciSyncAccessPerm, inout) Specifies the required access permissions.
Definition: nvscisync.h:383
NvSciSyncAttrListIpcImportUnreconciled
NvSciError NvSciSyncAttrListIpcImportUnreconciled(NvSciSyncModule module, NvSciIpcEndpoint ipcEndpoint, const void *descBuf, size_t descLen, NvSciSyncAttrList *importedUnreconciledAttrList)
Transforms an exported unreconciled NvSciSyncAttrList descriptor (potentially received from any proce...
NvSciSyncMinorVersion
static const uint32_t NvSciSyncMinorVersion
NvSciSync minor version number.
Definition: nvscisync.h:170
NvSciSyncAccessPerm
NvSciSyncAccessPerm
Describes NvSciSyncObj access permissions.
Definition: nvscisync.h:315
NvSciSyncObjSignal
NvSciError NvSciSyncObjSignal(NvSciSyncObj syncObj)
Signals the NvSciSyncObj using the reconciled primitive that was allocated along with the NvSciSyncOb...
NvSciSyncAttrListReconcile
NvSciError NvSciSyncAttrListReconcile(const NvSciSyncAttrList inputArray[], size_t inputCount, NvSciSyncAttrList *newReconciledList, NvSciSyncAttrList *newConflictList)
Reconciles the input unreconciled NvSciSyncAttrLists into a new reconciled NvSciSyncAttrList.
NvSciSyncFenceWait
NvSciError NvSciSyncFenceWait(const NvSciSyncFence *syncFence, NvSciSyncCpuWaitContext context, int64_t timeoutUs)
Performs a synchronous wait on the NvSciSyncFence object until the NvSciSyncFence has been signaled o...
NvSciSyncAccessPerm_Auto
@ NvSciSyncAccessPerm_Auto
Usage of Auto permissions is restricted only for export/import APIs and shouldn't be used as valid va...
Definition: nvscisync.h:337
NvSciSyncModuleOpen
NvSciError NvSciSyncModuleOpen(NvSciSyncModule *newModule)
Initializes and returns a new NvSciSyncModule with no NvSciSyncAttrLists, NvSciSyncCpuWaitContexts,...
NvSciSyncAttrListReconcileAndObjAlloc
NvSciError NvSciSyncAttrListReconcileAndObjAlloc(const NvSciSyncAttrList inputArray[], size_t inputCount, NvSciSyncObj *syncObj, NvSciSyncAttrList *newConflictList)
Reconciles the input unreconciled NvSciSyncAttrList(s) into a new reconciled NvSciSyncAttrList.
NvSciSyncAttrListDebugDump
NvSciError NvSciSyncAttrListDebugDump(NvSciSyncAttrList attrList, void **buf, size_t *len)
Dumps the NvSciSyncAttrList into a binary descriptor.
NvSciSyncFence
Defines the opaque NvSciSyncFence.
Definition: nvscisync.h:234
NvSciSyncObjGetAttrList
NvSciError NvSciSyncObjGetAttrList(NvSciSyncObj syncObj, NvSciSyncAttrList *syncAttrList)
Retrieves the reconciled NvSciSyncAttrList associated with an input NvSciSyncObj.
NvSciSyncAttrListValidateReconciled
NvSciError NvSciSyncAttrListValidateReconciled(NvSciSyncAttrList reconciledAttrList, const NvSciSyncAttrList inputUnreconciledAttrListArray[], size_t inputUnreconciledAttrListCount, bool *isReconciledListValid)
Validates a reconciled NvSciSyncAttrList against a set of input unreconciled NvSciSyncAttrLists.
NvSciSyncAttrKey_ActualPerm
@ NvSciSyncAttrKey_ActualPerm
(NvSciSyncAccessPerm, out) Actual permission granted after reconciliation.
Definition: nvscisync.h:414
NvSciSyncAttrListSlotGetAttrs
NvSciError NvSciSyncAttrListSlotGetAttrs(NvSciSyncAttrList attrList, size_t slotIndex, NvSciSyncAttrKeyValuePair *pairArray, size_t pairCount)
Gets the value(s) of NvSciSyncAttrKey(s) from an NvSciSyncAttrList at given slot index in a multi-slo...
NvSciSyncAttrListFree
void NvSciSyncAttrListFree(NvSciSyncAttrList attrList)
Frees the NvSciSyncAttrList and removes its association with the NvSciSyncModule with which it was cr...
NvSciSyncAttrListGetSlotCount
size_t NvSciSyncAttrListGetSlotCount(NvSciSyncAttrList attrList)
Gets the slot count per NvSciSyncAttrKey in a NvSciSyncAttrList.
NvSciSyncModule
struct NvSciSyncModuleRec * NvSciSyncModule
Represents an instance of the NvSciSyncModule.
Definition: nvscisync.h:190
nvscierror.h
NvSciSyncAttrKey_UpperBound
@ NvSciSyncAttrKey_UpperBound
Specifies the upper bound - for NvSciSync internal use only.
Definition: nvscisync.h:431
NvSciSyncFenceInitializer
static const NvSciSyncFence NvSciSyncFenceInitializer
Defines the value used to zero-initialize the NvSciSyncFence object.
Definition: nvscisync.h:244
NvSciSyncObj
struct NvSciSyncObjRec * NvSciSyncObj
A Synchronization Object is a container holding the reconciled NvSciSyncAttrList defining constraints...
Definition: nvscisync.h:289
NvSciSyncAttrListCreate
NvSciError NvSciSyncAttrListCreate(NvSciSyncModule module, NvSciSyncAttrList *attrList)
Creates a new, single-slot unreconciled NvSciSyncAttrList associated with the input NvSciSyncModule w...
NvSciSyncAttrListAppendUnreconciled
NvSciError NvSciSyncAttrListAppendUnreconciled(const NvSciSyncAttrList inputUnreconciledAttrListArray[], size_t inputUnreconciledAttrListCount, NvSciSyncAttrList *newUnreconciledAttrList)
Appends multiple unreconciled NvSciSyncAttrLists together, forming a single new unreconciled NvSciSyn...
NvSciSyncAttrListIpcExportReconciled
NvSciError NvSciSyncAttrListIpcExportReconciled(const NvSciSyncAttrList reconciledAttrList, NvSciIpcEndpoint ipcEndpoint, void **descBuf, size_t *descLen)
Transforms the reconciled NvSciSyncAttrList to an exportable reconciled NvSciSyncAttrList descriptor ...
NvSciSyncFenceIpcExportDescriptor
Defines the exported form of NvSciSyncFence intended to be shared across an NvSciIpc channel.
Definition: nvscisync.h:252
NvSciSyncIpcExportAttrListAndObj
NvSciError NvSciSyncIpcExportAttrListAndObj(NvSciSyncObj syncObj, NvSciSyncAccessPerm permissions, NvSciIpcEndpoint ipcEndpoint, void **attrListAndObjDesc, size_t *attrListAndObjDescSize)
Exports an NvSciSyncAttrList and NvSciSyncObj into an NvSciIpc-transferable object binary descriptor ...
NvSciSyncAttrListClone
NvSciError NvSciSyncAttrListClone(NvSciSyncAttrList origAttrList, NvSciSyncAttrList *newAttrList)
Clones an NvSciSyncAttrList.
NvSciSyncAccessPerm_WaitSignal
@ NvSciSyncAccessPerm_WaitSignal
This represents the capability to advance an NvSciSyncObj to its next point on its sync timeline and ...
Definition: nvscisync.h:331
NvSciSyncAttrKey_WaiterContextInsensitiveFenceExports
@ NvSciSyncAttrKey_WaiterContextInsensitiveFenceExports
(bool, inout) Importing and then exporting an NvSciSyncFenceIpcExportDescriptor has no side effects a...
Definition: nvscisync.h:426
NvSciSyncCpuWaitContext
struct NvSciSyncCpuWaitContextRec * NvSciSyncCpuWaitContext
Represents the right to perform a CPU wait on an NvSciSyncFence.
Definition: nvscisync.h:202
NvSciSyncFenceDup
NvSciError NvSciSyncFenceDup(const NvSciSyncFence *srcSyncFence, NvSciSyncFence *dstSyncFence)
Duplicates the given NvSciSyncFence, such that any wait on duplicated NvSciSyncFence will complete at...