Import HSA header files from AMD
authorAndrew Stubbs <ams@codesourcery.com>
Mon, 23 Nov 2020 16:27:59 +0000 (16:27 +0000)
committerAndrew Stubbs <ams@codesourcery.com>
Wed, 9 Dec 2020 11:10:40 +0000 (11:10 +0000)
commit85f0a4d98229203181014fb84a1e4f74813aab9e
treea99494730010035bc8b5a1c93b4ad464f4f4f40a
parent42bdf814493c2c39e7a6bd3fb2dd4491352ce5d9
Import HSA header files from AMD

These are the same header files that exist in the Radeon Open Compute Runtime
project (as of October 2020), but they have been specially relicensed by AMD
for use in GCC.

The header files retain AMD copyright.

include/ChangeLog:

* hsa.h: Replace whole file.
* hsa_ext_amd.h: New file.
* hsa_ext_image.h: New file.

libgomp/ChangeLog:

* plugin/plugin-gcn.c: Include hsa_ext_amd.h.
(HSA_AMD_AGENT_INFO_COMPUTE_UNIT_COUNT): Delete redundant definition.
include/hsa.h
include/hsa_ext_amd.h [new file with mode: 0644]
include/hsa_ext_image.h [new file with mode: 0644]
libgomp/plugin/plugin-gcn.c