NVIDIA DRIVE OS Linux SDK API Reference

5.2.3 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 = 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 {
384 
392 typedef struct {
398  const void* value;
400  size_t len;
402 
420  NvSciSyncModule* newModule);
421 
438  NvSciSyncModule module);
439 
458  NvSciSyncModule module,
459  NvSciSyncCpuWaitContext* newContext);
460 
470  NvSciSyncCpuWaitContext context);
471 
490  NvSciSyncModule module,
491  NvSciSyncAttrList* attrList);
492 
502  NvSciSyncAttrList attrList);
503 
516  NvSciSyncAttrList attrList,
517  bool* isReconciled);
518 
554  NvSciSyncAttrList reconciledAttrList,
555  const NvSciSyncAttrList inputUnreconciledAttrListArray[],
556  size_t inputUnreconciledAttrListCount,
557  bool* isReconciledListValid);
558 
590  NvSciSyncAttrList attrList,
591  const NvSciSyncAttrKeyValuePair* pairArray,
592  size_t pairCount);
593 
620  NvSciSyncAttrList attrList,
621  NvSciSyncAttrKeyValuePair* pairArray,
622  size_t pairCount);
623 
632  NvSciSyncAttrList attrList);
633 
670  const NvSciSyncAttrList inputUnreconciledAttrListArray[],
671  size_t inputUnreconciledAttrListCount,
672  NvSciSyncAttrList* newUnreconciledAttrList);
673 
697  NvSciSyncAttrList origAttrList,
698  NvSciSyncAttrList* newAttrList);
699 
738  NvSciSyncAttrList attrList,
739  size_t slotIndex,
740  NvSciSyncAttrKeyValuePair* pairArray,
741  size_t pairCount);
742 
751 #if (NV_IS_SAFETY == 0)
752 
758 #endif
759 
769 #if (NV_IS_SAFETY == 0)
770 
775 #else
776 
779 #endif
780 
793 #if (NV_IS_SAFETY == 0)
794 
796 #endif
797 
810  const NvSciSyncAttrList inputArray[],
811  size_t inputCount,
812  NvSciSyncAttrList* newReconciledList,
813  NvSciSyncAttrList* newConflictList);
814 
815 #if (NV_IS_SAFETY == 0)
816 
832  NvSciSyncAttrList attrList,
833  void** buf,
834  size_t* len);
835 #endif
836 
879  const NvSciSyncAttrList unreconciledAttrListArray[],
880  size_t unreconciledAttrListCount,
881  NvSciIpcEndpoint ipcEndpoint,
882  void** descBuf,
883  size_t* descLen);
884 
913  const NvSciSyncAttrList reconciledAttrList,
914  NvSciIpcEndpoint ipcEndpoint,
915  void** descBuf,
916  size_t* descLen);
917 
949  NvSciSyncModule module,
950  NvSciIpcEndpoint ipcEndpoint,
951  const void* descBuf,
952  size_t descLen,
953  NvSciSyncAttrList* importedUnreconciledAttrList);
954 
1012  NvSciSyncModule module,
1013  NvSciIpcEndpoint ipcEndpoint,
1014  const void* descBuf,
1015  size_t descLen,
1016  const NvSciSyncAttrList inputUnreconciledAttrListArray[],
1017  size_t inputUnreconciledAttrListCount,
1018  NvSciSyncAttrList* importedReconciledAttrList);
1019 
1029  void* descBuf);
1030 
1041 void NvSciSyncFenceClear(
1042  NvSciSyncFence* syncFence);
1043 
1065  const NvSciSyncFence* srcSyncFence,
1066  NvSciSyncFence* dstSyncFence);
1067 
1091  NvSciSyncAttrList reconciledList,
1092  NvSciSyncObj* syncObj);
1093 
1118  NvSciSyncObj syncObj,
1119  NvSciSyncObj* dupObj);
1120 
1139  NvSciSyncObj syncObj,
1140  NvSciSyncAttrList* syncAttrList);
1141 
1151 void NvSciSyncObjFree(
1152  NvSciSyncObj syncObj);
1153 
1183  NvSciSyncObj syncObj,
1184  NvSciSyncAccessPerm permissions,
1185  NvSciIpcEndpoint ipcEndpoint,
1187 
1234  NvSciIpcEndpoint ipcEndpoint,
1235  const NvSciSyncObjIpcExportDescriptor* desc,
1236  NvSciSyncAttrList inputAttrList,
1237  NvSciSyncAccessPerm permissions,
1238  int64_t timeoutUs,
1239  NvSciSyncObj* syncObj);
1240 
1265  const NvSciSyncFence* syncFence,
1266  NvSciIpcEndpoint ipcEndpoint,
1268 
1293  NvSciSyncObj syncObj,
1295  NvSciSyncFence* syncFence);
1296 
1316  NvSciSyncObj syncObj,
1317  NvSciSyncFence* syncFence);
1318 
1335  NvSciSyncObj syncObj);
1336 
1373  const NvSciSyncFence* syncFence,
1374  NvSciSyncCpuWaitContext context,
1375  int64_t timeoutUs);
1376 
1377 #if (NV_IS_SAFETY == 0)
1378 
1396  const NvSciSyncFence* syncFence,
1397  uint64_t* timestampUS);
1398 #endif
1399 
1400 /*
1401  * NvSciSync Utility functions
1402  */
1403 
1427  NvSciSyncAttrList attrList,
1428  NvSciSyncAttrKey key,
1429  const void** value,
1430  size_t* len);
1431 
1449 #if (NV_IS_SAFETY == 0)
1450 
1456 #else
1457 
1460 #endif
1461 
1474 #if (NV_IS_SAFETY == 0)
1475 
1477 #endif
1478 
1490  const NvSciSyncAttrList inputArray[],
1491  size_t inputCount,
1492  NvSciSyncObj* syncObj,
1493  NvSciSyncAttrList* newConflictList);
1494 
1528  NvSciSyncObj syncObj,
1529  NvSciSyncAccessPerm permissions,
1530  NvSciIpcEndpoint ipcEndpoint,
1531  void** attrListAndObjDesc,
1532  size_t* attrListAndObjDescSize);
1533 
1543  void* attrListAndObjDescBuf);
1544 
1600  NvSciSyncModule module,
1601  NvSciIpcEndpoint ipcEndpoint,
1602  const void* attrListAndObjDesc,
1603  size_t attrListAndObjDescSize,
1604  NvSciSyncAttrList const attrList[],
1605  size_t attrListCount,
1606  NvSciSyncAccessPerm minPermissions,
1607  int64_t timeoutUs,
1608  NvSciSyncObj* syncObj);
1609 
1630  uint32_t majorVer,
1631  uint32_t minorVer,
1632  bool* isCompatible);
1633 
1634 #if defined(__cplusplus)
1635 }
1636 #endif // __cplusplus
1637 
1638 #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:356
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:400
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:396
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:380
NvSciSyncAttrKeyValuePair::value
const void * value
Memory which contains the value corresponding to the key.
Definition: nvscisync.h:398
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
NvSciIpcEndpoint
uint64_t NvSciIpcEndpoint
Handle to the NvSciIpc endpoint.
Definition: nvsciipc.h:86
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...
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:392
NvSciSyncAttrKey_RequiredPerm
@ NvSciSyncAttrKey_RequiredPerm
(NvSciSyncAccessPerm, inout) Specifies the required access permissions.
Definition: nvscisync.h:364
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:369
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:382
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:377
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...