SWDEV-408630: Fixing missing versioning functions implementation

Change-Id: Id5a8d565301d0515583bf566de7d04870a771aa1


[ROCm/rocprofiler commit: 3b9a213378]
This commit is contained in:
Ammar ELWazir
2023-06-29 18:04:51 +00:00
parent 1a92b2aa91
commit a309a87db5
@@ -470,6 +470,10 @@ PUBLIC_API void OnUnload() {
ONLOAD_TRACE_END();
}
// Returns library vesrion
PUBLIC_API uint32_t rocprofiler_version_major() { return ROCPROFILER_VERSION_MAJOR; }
PUBLIC_API uint32_t rocprofiler_version_minor() { return ROCPROFILER_VERSION_MINOR; }
// Returns the last error message
PUBLIC_API hsa_status_t rocprofiler_error_string(const char** str) {
API_METHOD_PREFIX