diff options
author | Julian Brown <julian@codesourcery.com> | 2019-11-20 17:53:31 +0000 |
---|---|---|
committer | Julian Brown <jules@gcc.gnu.org> | 2019-11-20 17:53:31 +0000 |
commit | 8d2f4ddfd70f2ad9829cdc404e9c382f6fc9b072 (patch) | |
tree | f0c07d7c1a154a3c4799f63986997bc0d7e1d559 /gcc | |
parent | 56e0452513b38110a711c402e32b34ad3a2354aa (diff) | |
download | gcc-8d2f4ddfd70f2ad9829cdc404e9c382f6fc9b072.zip gcc-8d2f4ddfd70f2ad9829cdc404e9c382f6fc9b072.tar.gz gcc-8d2f4ddfd70f2ad9829cdc404e9c382f6fc9b072.tar.bz2 |
Fix host-to-device copies from rodata for AMD GCN
libgomp/
* plugin/plugin-gcn.c (hsa_memory_copy_wrapper): New.
(copy_data, GOMP_OFFLOAD_host2dev): Use above function.
(GOMP_OFFLOAD_dev2host, GOMP_OFFLOAD_dev2dev): Check hsa_memory_copy
return code.
Reviewed-by: Andrew Stubbs <ams@codesourcery.com>
From-SVN: r278516
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions