Library Versioning#
Rocprofiler SDK Developer API 0.4.0
ROCm Profiling API and tools
|
Library Versioning
Version information about the interface and the associated installed library. More...
Functions | |
rocprofiler_status_t | rocprofiler_get_version (uint32_t *major, uint32_t *minor, uint32_t *patch) |
Query the version of the installed library. | |
Detailed Description
Version information about the interface and the associated installed library.
The semantic version of the interface following semver.org rules. A context that uses this interface is only compatible with the installed library if the major version numbers match and the interface minor version number is less than or equal to the installed library minor version number.
Function Documentation
◆ rocprofiler_get_version()
rocprofiler_status_t rocprofiler_get_version | ( | uint32_t * | major, |
uint32_t * | minor, | ||
uint32_t * | patch | ||
) |
Query the version of the installed library.
Return the version of the installed library. This can be used to check if it is compatible with this interface version. This function can be used even when the library is not initialized.
- Parameters
-
[out] major The major version number is stored if non-NULL. [out] minor The minor version number is stored if non-NULL. [out] patch The patch version number is stored if non-NULL.
Generated by 1.9.8