SWDEV-305766 - Added new debug APIs to get build information
Change-Id: Ibbf0c010cd8f7e6e659f2c4ba932cc8436574431
This commit is contained in:
committed by
Anusha Godavarthy Surya
parent
1564f2cd77
commit
e90cb3b07b
@@ -4,6 +4,19 @@
|
||||
#include "hip_internal.hpp"
|
||||
#include "hip_code_object.hpp"
|
||||
#include "platform/program.hpp"
|
||||
#include <hip/hip_version.h>
|
||||
|
||||
const char* amd_dbgapi_get_build_name(void) {
|
||||
return HIP_VERSION_BUILD_NAME;
|
||||
}
|
||||
|
||||
const char* amd_dbgapi_get_git_hash() {
|
||||
return HIP_VERSION_GITHASH;
|
||||
}
|
||||
|
||||
size_t amd_dbgapi_get_build_id() {
|
||||
return HIP_VERSION_BUILD_ID;
|
||||
}
|
||||
|
||||
#ifdef __HIP_ENABLE_PCH
|
||||
extern const char __hip_pch[];
|
||||
|
||||
Reference in New Issue
Block a user