From db784eff1db3e0e9b0c916ecd21c9219dd7352c9 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 [ROCm/hip commit: 5d6a6a5c6c49510b02a604d5f5608edfcb09e65e] --- projects/hip/include/hip/hip_prof_str.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/hip/include/hip/hip_prof_str.h b/projects/hip/include/hip/hip_prof_str.h index 43789104ba..80bb1049c4 100644 --- a/projects/hip/include/hip/hip_prof_str.h +++ b/projects/hip/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: