d208afcb368b2ff6498bf3e99a4ecc75e5b8a5b2
This change addresses the rocprofiler and HIP backward compatibility issues. Before this patch, each time the hip_prof_str.h header was generated, the ordering of the callbacks IDs changed, causing incompatibilities between tools compiled with the old header and runtimes compiled with the new headers (or vice versa). To make the API callback IDs stable, the previous version of the header is read to extract the enum values so that the same values can be assigned in the new header. Also, to make diffing different versions of the hip_prof_str.h easier to read, all other sections (types, macros, helper functions) are now alphabetically ordered. If an update to the checked-in hip_prof_str.h file is required, the cmake build is aborted and a message printed on stderr. The build will not be successful until the checked-in hip_prof_str.h and the generated hip_prof_str.h match. Change-Id: I38b920e601185f7365a76a6584df91a7e8a11798
Описание
No description provided
Languages
C++
67.5%
C
20.6%
Python
6.6%
CMake
3.4%
Shell
0.6%
Разное
1.1%