aboutsummaryrefslogtreecommitdiff
path: root/libgomp/libgomp.h
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2020-01-10 23:24:36 +0100
committerThomas Schwinge <tschwinge@gcc.gnu.org>2020-01-10 23:24:36 +0100
commit6fc0385c0ce39470e137eab27dee8955b3f98258 (patch)
tree0a95a071bafad5393c048a74bec3cdb005499f3d /libgomp/libgomp.h
parentb3b75e664a619dae98571a0b3ac8034f5fa7c2be (diff)
downloadgcc-6fc0385c0ce39470e137eab27dee8955b3f98258.zip
gcc-6fc0385c0ce39470e137eab27dee8955b3f98258.tar.gz
gcc-6fc0385c0ce39470e137eab27dee8955b3f98258.tar.bz2
OpenACC 'acc_get_property' cleanup
include/ * gomp-constants.h (enum gomp_device_property): Remove. libgomp/ * libgomp-plugin.h (enum goacc_property): New. Adjust all users to use this instead of 'enum gomp_device_property'. (GOMP_OFFLOAD_get_property): Rename to... (GOMP_OFFLOAD_openacc_get_property): ... this. Adjust all users. * libgomp.h (struct gomp_device_descr): Move 'GOMP_OFFLOAD_openacc_get_property'... (struct acc_dispatch_t): ... here. Adjust all users. * plugin/plugin-hsa.c (GOMP_OFFLOAD_get_property): Remove. liboffloadmic/ * plugin/libgomp-plugin-intelmic.cpp (GOMP_OFFLOAD_get_property): Remove. From-SVN: r280150
Diffstat (limited to 'libgomp/libgomp.h')
-rw-r--r--libgomp/libgomp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libgomp/libgomp.h b/libgomp/libgomp.h
index 44703aa..f5415bb 100644
--- a/libgomp/libgomp.h
+++ b/libgomp/libgomp.h
@@ -1068,6 +1068,8 @@ typedef struct acc_dispatch_t
__typeof (GOMP_OFFLOAD_openacc_async_host2dev) *host2dev_func;
} async;
+ __typeof (GOMP_OFFLOAD_openacc_get_property) *get_property_func;
+
/* NVIDIA target specific routines. */
struct {
__typeof (GOMP_OFFLOAD_openacc_cuda_get_current_device)
@@ -1113,7 +1115,6 @@ struct gomp_device_descr
__typeof (GOMP_OFFLOAD_get_caps) *get_caps_func;
__typeof (GOMP_OFFLOAD_get_type) *get_type_func;
__typeof (GOMP_OFFLOAD_get_num_devices) *get_num_devices_func;
- __typeof (GOMP_OFFLOAD_get_property) *get_property_func;
__typeof (GOMP_OFFLOAD_init_device) *init_device_func;
__typeof (GOMP_OFFLOAD_fini_device) *fini_device_func;
__typeof (GOMP_OFFLOAD_version) *version_func;