From d35567f40a3e12c3a90dc665243dbfcf632b712c Mon Sep 17 00:00:00 2001 From: Evgeny Date: Sun, 26 Aug 2018 14:26:27 -0500 Subject: [PATCH] compilation fix - struct name fix --- hipamd/include/hip/hip_prof_str.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hipamd/include/hip/hip_prof_str.h b/hipamd/include/hip/hip_prof_str.h index 43789104ba..80bb1049c4 100644 --- a/hipamd/include/hip/hip_prof_str.h +++ b/hipamd/include/hip/hip_prof_str.h @@ -294,7 +294,7 @@ static const char* hip_api_name(const uint32_t& id) { }; // HIP API callbacks data structure -struct hip_cb_data_t { +struct hip_api_data_t { uint64_t correlation_id; uint32_t phase; union { @@ -1522,7 +1522,7 @@ struct hip_cb_data_t { #if 0 // HIP API string method, method name and parameters -const char* hipApiString(hip_cb_id_t id, const hip_cb_data_t* data) { +const char* hipApiString(hip_api_id_t id, const hip_api_data_t* data) { std::ostringstream oss; switch (id) { case HIP_API_ID_hipHostFree: