Skip to content

Commit

Permalink
SWDEV-408630: Fixing missing versioning functions implementation
Browse files Browse the repository at this point in the history
Change-Id: Id5a8d565301d0515583bf566de7d04870a771aa1
  • Loading branch information
ammarwa committed Jun 29, 2023
1 parent a41faed commit 5cabaa7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/core/rocprofiler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5cabaa7

Please sign in to comment.