List of APIs to initialize/de-initialize NvSciBuf module.
NvSciError NvSciBufCheckVersionCompatibility |
( |
uint32_t |
majorVer, |
|
|
uint32_t |
minorVer, |
|
|
bool * |
isCompatible |
|
) |
| |
API to check if loaded library version is compatible with passed library build version.
This function checks the version of all dependent libraries and sets the output variable to true if all libraries are compatible, else sets output to false.
- Parameters
-
[in] | majorVer | build major version. |
[in] | minorVer | build minor version. |
[out] | isCompatible | pointer to the bool holding the result. |
- Returns
- NvSciError, the completion code of the operation:
Releases an instance of the NvSciBuf module obtained through an earlier call to NvSciBufModuleOpen().
Once an NvSciBufModule is closed and all NvSciBufAttrLists and NvSciBufObjs bound to that module instance are freed, the NvSciBuf module instance will be de-initialized in the calling process.
- Parameters
-
[in] | module | The NvSciBufModule instance to close. The calling process must not pass this module to another NvSciBuf API call. |
- Returns
- void
Initializes an instance of the NvSciBuf module within the calling process and provides an NvSciBufModule representing the instance.
- Note
- A process may call this function multiple times. Each successful invocation will yield a new NvSciBuf module instance.
- Parameters
-
[in] | newModule | The new NvSciBuf module instance. |
- Returns
- NvSciError, the completion code of this operation: