2
0

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

[ROCm/clr commit: 76363d90b8]
Este cometimento está contido em:
Evgeny Shcherbakov
2020-04-10 13:41:47 -04:00
cometido por Gerrit Code Review
ascendente 997cab12d3 8e6c6bc844
cometimento 9b65761bdd
+2 -2
Ver ficheiro
@@ -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