gcc/include
Tobias Burnus 18f477980c libgomp: Enable USM for AMD APUs and MI200 devices
If HSA_AMD_SYSTEM_INFO_SVM_ACCESSIBLE_BY_DEFAULT is true,
all GPUs on the system support unified shared memory. That's
the case for APUs and MI200 devices when XNACK is enabled.

XNACK can be enabled by setting HSA_XNACK=1 as env var for
supported devices; otherwise, if disable, USM code will
use host fallback.

gcc/ChangeLog:

	* config/gcn/gcn-hsa.h (gcn_local_sym_hash): Fix typo.

include/ChangeLog:

	* hsa.h (HSA_AMD_SYSTEM_INFO_SVM_ACCESSIBLE_BY_DEFAULT): Add
	enum value.

libgomp/ChangeLog:

	* libgomp.texi (gcn): Update USM handling
	* plugin/plugin-gcn.c (GOMP_OFFLOAD_get_num_devices): Handle
	USM if HSA_AMD_SYSTEM_INFO_SVM_ACCESSIBLE_BY_DEFAULT is true.
2024-05-29 15:29:06 +02:00
..
cuda libgomp: Enable USM for some nvptx devices 2024-05-29 15:14:38 +02:00
gdb Update copyright years. 2024-01-03 12:19:35 +01:00
ansidecl.h Update copyright years. 2024-01-03 12:19:35 +01:00
btf.h Update copyright years. 2024-01-03 12:19:35 +01:00
ChangeLog Daily bump. 2024-04-09 00:17:24 +00:00
ChangeLog-9103
ChangeLog.jit
collectorAPI.h Update copyright years. 2024-01-03 12:19:35 +01:00
COPYING
COPYING3
ctf.h Update copyright years. 2024-01-03 12:19:35 +01:00
demangle.h c++, demangle: Implement https://github.com/itanium-cxx-abi/cxx-abi/issues/148 non-proposal 2024-01-13 10:23:53 +01:00
dwarf2.def Update copyright years. 2024-01-03 12:19:35 +01:00
dwarf2.h Update copyright years. 2024-01-03 12:19:35 +01:00
dyn-string.h Update copyright years. 2024-01-03 12:19:35 +01:00
environ.h Update copyright years. 2024-01-03 12:19:35 +01:00
fibheap.h Update copyright years. 2024-01-03 12:19:35 +01:00
filenames.h Update copyright years. 2024-01-03 12:19:35 +01:00
floatformat.h Update copyright years. 2024-01-03 12:19:35 +01:00
fnmatch.h Update copyright years. 2024-01-03 12:19:35 +01:00
gcc-c-fe.def Fix PR libcc1/113977 2024-02-29 08:50:06 -07:00
gcc-c-interface.h Fix PR libcc1/113977 2024-02-29 08:50:06 -07:00
gcc-cp-fe.def Update copyright years. 2024-01-03 12:19:35 +01:00
gcc-cp-interface.h Fix PR libcc1/113977 2024-02-29 08:50:06 -07:00
gcc-interface.h Update copyright years. 2024-01-03 12:19:35 +01:00
getopt.h Update copyright years. 2024-01-03 12:19:35 +01:00
gomp-constants.h Update copyright years. 2024-01-03 12:19:35 +01:00
hashtab.h Update copyright years. 2024-01-03 12:19:35 +01:00
hsa.h libgomp: Enable USM for AMD APUs and MI200 devices 2024-05-29 15:29:06 +02:00
hsa_ext_amd.h Import HSA header files from AMD 2020-12-09 11:10:40 +00:00
hsa_ext_image.h Import HSA header files from AMD 2020-12-09 11:10:40 +00:00
leb128.h Update copyright years. 2024-01-03 12:19:35 +01:00
libcollector.h Update copyright years. 2024-01-03 12:19:35 +01:00
libfcollector.h Update copyright years. 2024-01-03 12:19:35 +01:00
libiberty.h Update copyright years. 2024-01-03 12:19:35 +01:00
longlong.h [committed] Adding missing prototype for __clzhi2 to xstormy port 2024-01-09 10:21:28 -07:00
lto-symtab.h Update copyright years. 2024-01-03 12:19:35 +01:00
md5.h Update copyright years. 2024-01-03 12:19:35 +01:00
objalloc.h Update copyright years. 2024-01-03 12:19:35 +01:00
obstack.h Update copyright years. 2024-01-03 12:19:35 +01:00
partition.h Update copyright years. 2024-01-03 12:19:35 +01:00
plugin-api.h Update copyright years. 2024-01-03 12:19:35 +01:00
safe-ctype.h Update copyright years. 2024-01-03 12:19:35 +01:00
sha1.h Update copyright years. 2024-01-03 12:19:35 +01:00
simple-object.h Update copyright years. 2024-01-03 12:19:35 +01:00
sort.h Update copyright years. 2024-01-03 12:19:35 +01:00
spincount.h Update copyright years. 2024-01-03 12:19:35 +01:00
splay-tree.h Update copyright years. 2024-01-03 12:19:35 +01:00
symcat.h Update copyright years. 2024-01-03 12:19:35 +01:00
timeval-utils.h Update copyright years. 2024-01-03 12:19:35 +01:00
vtv-change-permission.h Update copyright years. 2024-01-03 12:19:35 +01:00
xregex.h
xregex2.h Update copyright years. 2024-01-03 12:19:35 +01:00
xtensa-config.h Update copyright years. 2024-01-03 12:19:35 +01:00
xtensa-dynconfig.h Update copyright years. 2024-01-03 12:19:35 +01:00