Merge "fxing C compatibility (amd-master-next)" into amd-master-next

Этот коммит содержится в:
Evgeny Shcherbakov
2020-04-10 13:41:47 -04:00
коммит произвёл Gerrit Code Review
родитель d02eb22c63 8e2138b23b
Коммит 76363d90b8
+2 -2
Просмотреть файл
@@ -427,7 +427,7 @@ def generate_prof_header(f, api_map, opts_map):
# Generating the callbacks data structure
f.write('\n// HIP API callbacks data structure\n')
f.write(
'struct hip_api_data_t {\n' +
'typedef struct hip_api_data_s {\n' +
' uint64_t correlation_id;\n' +
' uint32_t phase;\n' +
' union {\n'
@@ -443,7 +443,7 @@ def generate_prof_header(f, api_map, opts_map):
f.write(' } ' + name + ';\n')
f.write(
' } args;\n' +
'};\n'
'} hip_api_data_t;\n'
)
# Generating the callbacks args data filling macros