SWDEV-305766 - Added new debug APIs to get build information

Change-Id: Ibbf0c010cd8f7e6e659f2c4ba932cc8436574431
This commit is contained in:
anusha GodavarthySurya
2021-11-25 00:33:26 -08:00
committed by Anusha Godavarthy Surya
orang tua 1564f2cd77
melakukan e90cb3b07b
6 mengubah file dengan 63 tambahan dan 1 penghapusan
@@ -31,6 +31,42 @@ THE SOFTWARE.
#include <hip/amd_detail/amd_hip_common.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Query the installed library build name.
*
* This function can be used even when the library is not initialized.
*
* @returns Returns a string describing the build version of the library. The
* string is owned by the library.
*/
const char* amd_dbgapi_get_build_name();
/**
* @brief Query the installed library git hash.
*
* This function can be used even when the library is not initialized.
*
* @returns Returns git hash of the library.
*/
const char* amd_dbgapi_get_git_hash();
/**
* @brief Query the installed library build ID.
*
* This function can be used even when the library is not initialized.
*
* @returns Returns build ID of the library.
*/
size_t amd_dbgapi_get_build_id();
#ifdef __cplusplus
} /* extern "c" */
#endif
//---
// Top part of file can be compiled with any compiler