gcc/libgomp/plugin
Tobias Burnus d2ad7e9083 libgomp: Add is_integrated_apu function to plugin/plugin-{gcn,nvptx}.c
The added function is currently '#if 0' but is planned to be used to enable
self mapping automatically. Prerequisite for auto self maps is still mapping
'declare target' variables (if any, in libgomp) or converting all
'declare target' variables to 'declare target link' in the compiler
(as required for 'omp requires self_maps').

include/ChangeLog:

	* hsa_ext_amd.h (enum hsa_amd_agent_info_s): Add
	HSA_AMD_AGENT_INFO_MEMORY_PROPERTIES.
	(enum): Add HSA_AMD_MEMORY_PROPERTY_AGENT_IS_APU.

libgomp/ChangeLog:

	* plugin/plugin-gcn.c (is_integrated_apu): New; currently '#if 0'.
	* plugin/plugin-nvptx.c (is_integrated_apu): Likewise.
2025-10-10 09:48:37 +02:00
..
Makefrag.am Update copyright years. 2025-01-02 11:59:57 +01:00
build-target-indirect-htab.h libgomp: Init hash table for 'indirect'-clause of 'declare target' on the host [PR114445, PR119857] 2025-09-17 08:47:36 +02:00
configfrag.ac Update copyright years. 2025-01-02 11:59:57 +01:00
cuda-lib.def libgomp: Add OpenMP's omp_target_memset/omp_target_memset_async 2025-06-02 17:43:57 +02:00
plugin-gcn.c libgomp: Add is_integrated_apu function to plugin/plugin-{gcn,nvptx}.c 2025-10-10 09:48:37 +02:00
plugin-nvptx.c libgomp: Add is_integrated_apu function to plugin/plugin-{gcn,nvptx}.c 2025-10-10 09:48:37 +02:00