diff options
author | Tobias Burnus <tobias@codesourcery.com> | 2023-06-06 18:06:14 +0200 |
---|---|---|
committer | Tobias Burnus <tobias@codesourcery.com> | 2023-06-06 18:06:14 +0200 |
commit | f1af7d65ff64fe7102d1490ef46ea491a533e641 (patch) | |
tree | 704004e1fbae724d097de8a44227a1049e94825c /gcc/expr.cc | |
parent | 192665feef71294510b1632bfaaedd4d824c744f (diff) | |
download | gcc-f1af7d65ff64fe7102d1490ef46ea491a533e641.zip gcc-f1af7d65ff64fe7102d1490ef46ea491a533e641.tar.gz gcc-f1af7d65ff64fe7102d1490ef46ea491a533e641.tar.bz2 |
libgomp: plugin-gcn - support 'unified_address'
Effectively, for GCN (as for nvptx) there is a common address space between
host and device, whether being accessible or not. Thus, this commit
permits to use 'omp requires unified_address' with GCN devices.
(nvptx accepts this requirement since r13-3460-g131d18e928a3ea.)
libgomp/
* plugin/plugin-gcn.c (GOMP_OFFLOAD_get_num_devices): Regard
unified_address requirement as supported.
* libgomp.texi (OpenMP 5.0, AMD Radeon, nvptx): Remove
'unified_address' from the not-supported requirements.
Diffstat (limited to 'gcc/expr.cc')
0 files changed, 0 insertions, 0 deletions