aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJulian Brown <julian@codesourcery.com>2024-01-04 16:44:18 +0000
committerJulian Brown <julian@codesourcery.com>2024-01-08 17:56:17 +0000
commita17299c17afeb92a56ef716d2d6380c8538493c4 (patch)
treee94610ad465ec1c1362929d1646b452bcb27d021 /gcc
parent0056458550ba6df0a339589736729be8b886790a (diff)
downloadgcc-a17299c17afeb92a56ef716d2d6380c8538493c4.zip
gcc-a17299c17afeb92a56ef716d2d6380c8538493c4.tar.gz
gcc-a17299c17afeb92a56ef716d2d6380c8538493c4.tar.bz2
OpenMP: Support accelerated 2D/3D memory copies for AMD GCN
This patch adds support for 2D/3D memory copies for omp_target_memcpy_rect using AMD extensions to the HSA API. This is just the AMD GCN-specific part of the following patch: https://gcc.gnu.org/pipermail/gcc-patches/2023-September/631001.html 2024-01-04 Julian Brown <julian@codesourcery.com> libgomp/ * plugin/plugin-gcn.c (hsa_runtime_fn_info): Add hsa_amd_memory_lock_fn, hsa_amd_memory_unlock_fn, hsa_amd_memory_async_copy_rect_fn function pointers. (init_hsa_runtime_functions): Add above functions, with DLSYM_OPT_FN. (GOMP_OFFLOAD_memcpy2d, GOMP_OFFLOAD_memcpy3d): New functions.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions