NVIDIA DRIVE OS Linux SDK API Reference

5.1.15.2 Release
For Test and Development only
nvscisync.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2019-2020, 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 = 1U;
164 
170 static const uint32_t NvSciSyncMinorVersion = 1U;
171 
183 typedef struct NvSciSyncModuleRec* NvSciSyncModule;
184 
195 typedef struct NvSciSyncCpuWaitContextRec* NvSciSyncCpuWaitContext;
196 
217 #if (NV_IS_SAFETY == 0)
218 
223 #endif
224 
227 typedef struct {
228  uint64_t payload[6];
230 
238 
245 typedef struct {
246  uint64_t payload[7];
248 
255 typedef struct {
257  uint64_t payload[128];
259 
267 #if (NV_IS_SAFETY == 0)
268 
273 #endif
274 
282 typedef struct NvSciSyncObjRec* NvSciSyncObj;
283 
295 typedef struct NvSciSyncAttrListRec* NvSciSyncAttrList;
296 
302 typedef enum {
307  NvSciSyncAccessPerm_WaitOnly = (uint64_t)1U << 0U,
312  NvSciSyncAccessPerm_SignalOnly = (uint64_t)1U << 1U,
324  NvSciSyncAccessPerm_Auto = (uint64_t)1U << 63U,
326 
339 typedef enum {
371 
379 typedef struct {
385  const void* value;
387  size_t len;
389 
407  NvSciSyncModule* newModule);
408 
425  NvSciSyncModule module);
426 
445  NvSciSyncModule module,
446  NvSciSyncCpuWaitContext* newContext);
447 
457  NvSciSyncCpuWaitContext context);
458 
475  NvSciSyncModule module,
476  NvSciSyncAttrList* attrList);
477 
487  NvSciSyncAttrList attrList);
488 
501  NvSciSyncAttrList attrList,
502  bool* isReconciled);
503 
538  NvSciSyncAttrList reconciledAttrList,
539  const NvSciSyncAttrList inputUnreconciledAttrListArray[],
540  size_t inputUnreconciledAttrListCount,
541  bool* isReconciledListValid);
542 
576  NvSciSyncAttrList attrList,
577  const NvSciSyncAttrKeyValuePair* pairArray,
578  size_t pairCount);
579 
606  NvSciSyncAttrList attrList,
607  NvSciSyncAttrKeyValuePair* pairArray,
608  size_t pairCount);
609 
618  NvSciSyncAttrList attrList);
619 
651  const NvSciSyncAttrList inputUnreconciledAttrListArray[],
652  size_t inputUnreconciledAttrListCount,
653  NvSciSyncAttrList* newUnreconciledAttrList);
654 
676  NvSciSyncAttrList origAttrList,
677  NvSciSyncAttrList* newAttrList);
678 
717  NvSciSyncAttrList attrList,
718  size_t slotIndex,
719  NvSciSyncAttrKeyValuePair* pairArray,
720  size_t pairCount);
721 
730 #if (NV_IS_SAFETY == 0)
731 
737 #endif
738 
748 #if (NV_IS_SAFETY == 0)
749 
754 #else
755 
758 #endif
759 
772 #if (NV_IS_SAFETY == 0)
773 
775 #endif
776 
785  const NvSciSyncAttrList inputArray[],
786  size_t inputCount,
787  NvSciSyncAttrList* newReconciledList,
788  NvSciSyncAttrList* newConflictList);
789 
790 #if (NV_IS_SAFETY == 0)
791 
807  NvSciSyncAttrList attrList,
808  void** buf,
809  size_t* len);
810 #endif
811 
848  const NvSciSyncAttrList unreconciledAttrListArray[],
849  size_t unreconciledAttrListCount,
850  NvSciIpcEndpoint ipcEndpoint,
851  void** descBuf,
852  size_t* descLen);
853 
879  const NvSciSyncAttrList reconciledAttrList,
880  NvSciIpcEndpoint ipcEndpoint,
881  void** descBuf,
882  size_t* descLen);
883 
914  NvSciSyncModule module,
915  NvSciIpcEndpoint ipcEndpoint,
916  const void* descBuf,
917  size_t descLen,
918  NvSciSyncAttrList* importedUnreconciledAttrList);
919 
974  NvSciSyncModule module,
975  NvSciIpcEndpoint ipcEndpoint,
976  const void* descBuf,
977  size_t descLen,
978  const NvSciSyncAttrList inputUnreconciledAttrListArray[],
979  size_t inputUnreconciledAttrListCount,
980  NvSciSyncAttrList* importedReconciledAttrList);
981 
991  void* descBuf);
992 
1003 void NvSciSyncFenceClear(
1004  NvSciSyncFence* syncFence);
1005 
1027  const NvSciSyncFence* srcSyncFence,
1028  NvSciSyncFence* dstSyncFence);
1029 
1054  NvSciSyncAttrList reconciledList,
1055  NvSciSyncObj* syncObj);
1056 
1077  NvSciSyncObj syncObj,
1078  NvSciSyncObj* dupObj);
1079 
1098  NvSciSyncObj syncObj,
1099  NvSciSyncAttrList* syncAttrList);
1100 
1110 void NvSciSyncObjFree(
1111  NvSciSyncObj syncObj);
1112 
1143  NvSciSyncObj syncObj,
1144  NvSciSyncAccessPerm permissions,
1145  NvSciIpcEndpoint ipcEndpoint,
1147 
1189  NvSciIpcEndpoint ipcEndpoint,
1190  const NvSciSyncObjIpcExportDescriptor* desc,
1191  NvSciSyncAttrList inputAttrList,
1192  NvSciSyncAccessPerm permissions,
1193  int64_t timeoutUs,
1194  NvSciSyncObj* syncObj);
1195 
1220  const NvSciSyncFence* syncFence,
1221  NvSciIpcEndpoint ipcEndpoint,
1223 
1247  NvSciSyncObj syncObj,
1249  NvSciSyncFence* syncFence);
1250 
1268  NvSciSyncObj syncObj,
1269  NvSciSyncFence* syncFence);
1270 
1288  NvSciSyncObj syncObj);
1289 
1326  const NvSciSyncFence* syncFence,
1327  NvSciSyncCpuWaitContext context,
1328  int64_t timeoutUs);
1329 
1330 #if (NV_IS_SAFETY == 0)
1331 
1349  const NvSciSyncFence* syncFence,
1350  uint64_t* timestampUS);
1351 #endif
1352 
1353 /*
1354  * NvSciSync Utility functions
1355  */
1356 
1380  NvSciSyncAttrList attrList,
1381  NvSciSyncAttrKey key,
1382  const void** value,
1383  size_t* len);
1384 
1402 #if (NV_IS_SAFETY == 0)
1403 
1409 #else
1410 
1413 #endif
1414 
1427 #if (NV_IS_SAFETY == 0)
1428 
1430 #endif
1431 
1440  const NvSciSyncAttrList inputArray[],
1441  size_t inputCount,
1442  NvSciSyncObj* syncObj,
1443  NvSciSyncAttrList* newConflictList);
1444 
1478  NvSciSyncObj syncObj,
1479  NvSciSyncAccessPerm permissions,
1480  NvSciIpcEndpoint ipcEndpoint,
1481  void** attrListAndObjDesc,
1482  size_t* attrListAndObjDescSize);
1483 
1493  void* attrListAndObjDescBuf);
1494 
1549  NvSciSyncModule module,
1550  NvSciIpcEndpoint ipcEndpoint,
1551  const void* attrListAndObjDesc,
1552  size_t attrListAndObjDescSize,
1553  NvSciSyncAttrList const attrList[],
1554  size_t attrListCount,
1555  NvSciSyncAccessPerm minPermissions,
1556  int64_t timeoutUs,
1557  NvSciSyncObj* syncObj);
1558 
1579  uint32_t majorVer,
1580  uint32_t minorVer,
1581  bool* isCompatible);
1582 
1583 #if defined(__cplusplus)
1584 }
1585 #endif // __cplusplus
1586 
1587 #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:343
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:312
NvSciSyncAttrKeyValuePair::len
size_t len
Length of the value in bytes.
Definition: nvscisync.h:387
NvSciSyncAttrKey_LowerBound
@ NvSciSyncAttrKey_LowerBound
Specifies the lower bound - for NvSciSync internal use only.
Definition: nvscisync.h:341
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:383
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:295
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:367
NvSciSyncAttrKeyValuePair::value
const void * value
Memory which contains the value corresponding to the key.
Definition: nvscisync.h:385
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.
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:307
NvSciSyncObjIpcExportDescriptor
Defines the exported form of NvSciSyncObj intended to be shared across an NvSciIpc channel.
Definition: nvscisync.h:255
NvSciIpcEndpoint
uint64_t NvSciIpcEndpoint
Handle to the NvSciIpc endpoint.
Definition: nvsciipc.h:82
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:339
NvSciSyncObjAlloc
NvSciError NvSciSyncObjAlloc(NvSciSyncAttrList reconciledList, NvSciSyncObj *syncObj)
Allocates and initializes a NvSciSyncObj that meets all the constraints specified in the given Reconc...
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:379
NvSciSyncAttrKey_RequiredPerm
@ NvSciSyncAttrKey_RequiredPerm
(NvSciSyncAccessPerm, inout) Specifies the required access permissions.
Definition: nvscisync.h:351
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:302
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:324
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:227
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:356
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:183
nvscierror.h
NvSciSyncAttrKey_UpperBound
@ NvSciSyncAttrKey_UpperBound
Specifies the upper bound - for NvSciSync internal use only.
Definition: nvscisync.h:369
NvSciSyncFenceInitializer
static const NvSciSyncFence NvSciSyncFenceInitializer
Defines the value used to zero-initialize the NvSciSyncFence object.
Definition: nvscisync.h:237
NvSciSyncObj
struct NvSciSyncObjRec * NvSciSyncObj
A Synchronization Object is a container holding the reconciled NvSciSyncAttrList defining constraints...
Definition: nvscisync.h:282
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:245
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:318
NvSciSyncAttrKey_WaiterContextInsensitiveFenceExports
@ NvSciSyncAttrKey_WaiterContextInsensitiveFenceExports
(bool, inout) Importing and then exporting an NvSciSyncFenceIpcExportDescriptor has no side effects a...
Definition: nvscisync.h:364
NvSciSyncCpuWaitContext
struct NvSciSyncCpuWaitContextRec * NvSciSyncCpuWaitContext
Represents the right to perform a CPU wait on an NvSciSyncFence.
Definition: nvscisync.h:195
NvSciSyncFenceDup
NvSciError NvSciSyncFenceDup(const NvSciSyncFence *srcSyncFence, NvSciSyncFence *dstSyncFence)
Duplicates the given NvSciSyncFence, such that any wait on duplicated NvSciSyncFence will complete at...