This change is necessary for HPCToolkit to use Roctracer to produce code centric profiling view.

[ROCm/clr commit: f9b8a01c77]
Этот коммит содержится в:
Xiaozhu Meng
2019-10-16 00:18:55 -05:00
коммит произвёл Maneesh Gupta
родитель 39a6f5e205
Коммит e7fb74b07f
+2 -2
Просмотреть файл
@@ -348,7 +348,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_t {\n' +
' uint64_t correlation_id;\n' +
' uint32_t phase;\n' +
' union {\n'
@@ -364,7 +364,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