diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2020-01-10 23:24:36 +0100 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gcc.gnu.org> | 2020-01-10 23:24:36 +0100 |
commit | 6fc0385c0ce39470e137eab27dee8955b3f98258 (patch) | |
tree | 0a95a071bafad5393c048a74bec3cdb005499f3d /include | |
parent | b3b75e664a619dae98571a0b3ac8034f5fa7c2be (diff) | |
download | gcc-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 'include')
-rw-r--r-- | include/ChangeLog | 4 | ||||
-rw-r--r-- | include/gomp-constants.h | 15 |
2 files changed, 4 insertions, 15 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index 0069df3..8a2feb9 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2020-01-10 Thomas Schwinge <thomas@codesourcery.com> + + * gomp-constants.h (enum gomp_device_property): Remove. + 2020-01-01 Jakub Jelinek <jakub@redhat.com> Update copyright years. diff --git a/include/gomp-constants.h b/include/gomp-constants.h index 5a7cc2c..1587e4d 100644 --- a/include/gomp-constants.h +++ b/include/gomp-constants.h @@ -199,21 +199,6 @@ enum gomp_map_kind #define GOMP_DEVICE_ICV -1 #define GOMP_DEVICE_HOST_FALLBACK -2 -/* Device property codes. Keep in sync with - libgomp/{openacc.h,openacc.f90}:acc_device_property_t */ -/* Start from 1 to catch uninitialized use. */ -enum gomp_device_property - { - GOMP_DEVICE_PROPERTY_MEMORY = 1, - GOMP_DEVICE_PROPERTY_FREE_MEMORY = 2, - GOMP_DEVICE_PROPERTY_NAME = 0x10001, - GOMP_DEVICE_PROPERTY_VENDOR = 0x10002, - GOMP_DEVICE_PROPERTY_DRIVER = 0x10003 - }; - -/* Internal property mask to tell numeric and string values apart. */ -#define GOMP_DEVICE_PROPERTY_STRING_MASK 0x10000 - /* GOMP_task/GOMP_taskloop* flags argument. */ #define GOMP_TASK_FLAG_UNTIED (1 << 0) #define GOMP_TASK_FLAG_FINAL (1 << 1) |