compilation fix - struct name fix

This commit is contained in:
Evgeny authored and root committed 2018-11-13 15:33:26 +00:00
1 parent 2f2c955ae0
commit d35567f40a
1 file changed
+2 -2
+2 -2
View File
@@ -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: