aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMarcel Vollweiler <marcel@codesourcery.com>2022-05-06 07:28:26 -0700
committerMarcel Vollweiler <marcel@codesourcery.com>2022-05-06 07:28:26 -0700
commit4043f53cb4a3541f7a6e4f4132419f78ab7ec4f7 (patch)
tree9ef3279dec3be0ec7bcfa521b60274ee6dab9814 /gcc
parentaa8bdfee1db818b9a56908ab0197ff02c54bf281 (diff)
downloadgcc-4043f53cb4a3541f7a6e4f4132419f78ab7ec4f7.zip
gcc-4043f53cb4a3541f7a6e4f4132419f78ab7ec4f7.tar.gz
gcc-4043f53cb4a3541f7a6e4f4132419f78ab7ec4f7.tar.bz2
OpenMP, libgomp: Add new runtime routine omp_target_is_accessible.
gcc/ChangeLog: * omp-low.cc (omp_runtime_api_call): Added target_is_accessible to omp_runtime_apis array. libgomp/ChangeLog: * libgomp.map: Added omp_target_is_accessible. * libgomp.texi: Tagged omp_target_is_accessible as supported. * omp.h.in: Added omp_target_is_accessible. * omp_lib.f90.in: Added interface for omp_target_is_accessible. * omp_lib.h.in: Likewise. * target.c (omp_target_is_accessible): Added implementation of omp_target_is_accessible. * testsuite/libgomp.c-c++-common/target-is-accessible-1.c: New test. * testsuite/libgomp.fortran/target-is-accessible-1.f90: New test.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/omp-low.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/omp-low.cc b/gcc/omp-low.cc
index 49481b2..e7818a9 100644
--- a/gcc/omp-low.cc
+++ b/gcc/omp-low.cc
@@ -3998,6 +3998,7 @@ omp_runtime_api_call (const_tree fndecl)
"target_associate_ptr",
"target_disassociate_ptr",
"target_free",
+ "target_is_accessible",
"target_is_present",
"target_memcpy",
"target_memcpy_rect",