Headers for dynamically loading HSA and AQLProfile extracted from the ROCm rocm-systems repository.
The HSA and AQLProfile SDK headers are synchronized to rocm-systems commit
41e1945cebc29d93187537246f3ae5a5179373b2.
- Select one rocm-systems commit for the entire snapshot.
- Copy
projects/rocr-runtime/runtime/hsa-runtime/inc/toinclude/hsa/, excludingBrig.h. - Copy the public headers from
projects/aqlprofile/src/core/include/aqlprofile-sdk/toinclude/aqlprofile-sdk/. - Configure
aqlprofile-sdk/version.hfromversion.h.inusing the interface version and selected rocm-systems revision. Leave binary build metadata empty because this repository builds no AQLProfile library. - Update the snapshot revision above in the same commit.
hsa_ven_amd_aqlprofile.h: defineHSA_VEN_AMD_AQLPROFILE_LEGACY_PM4_PACKET_SIZEas an anonymous enum instead of a file-scopeconst unsigned. In C, the upstreamconstdefinition has external linkage and produces duplicate symbols when the header is included by more than one translation unit.- Remove trailing whitespace from imported headers so snapshots satisfy the repository diff policy.