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 /libgomp/openacc.h | |
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 'libgomp/openacc.h')
-rw-r--r-- | libgomp/openacc.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libgomp/openacc.h b/libgomp/openacc.h index 66786d7..62b2b0e 100644 --- a/libgomp/openacc.h +++ b/libgomp/openacc.h @@ -64,8 +64,7 @@ typedef enum acc_device_t { } acc_device_t; typedef enum acc_device_property_t { - /* Keep in sync with include/gomp-constants.h. */ - /* Start from 1 to catch uninitialized use. */ + /* Keep in sync with 'libgomp/libgomp-plugin.h:goacc_property'. */ acc_property_memory = 1, acc_property_free_memory = 2, acc_property_name = 0x10001, |