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/target.c | |
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/target.c')
-rw-r--r-- | libgomp/target.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libgomp/target.c b/libgomp/target.c index 38de1c0..3df0072 100644 --- a/libgomp/target.c +++ b/libgomp/target.c @@ -3028,7 +3028,6 @@ gomp_load_plugin_for_device (struct gomp_device_descr *device, DLSYM (get_caps); DLSYM (get_type); DLSYM (get_num_devices); - DLSYM (get_property); DLSYM (init_device); DLSYM (fini_device); DLSYM (load_image); @@ -3061,7 +3060,8 @@ gomp_load_plugin_for_device (struct gomp_device_descr *device, openacc_async_queue_callback) || !DLSYM_OPT (openacc.async.exec, openacc_async_exec) || !DLSYM_OPT (openacc.async.dev2host, openacc_async_dev2host) - || !DLSYM_OPT (openacc.async.host2dev, openacc_async_host2dev)) + || !DLSYM_OPT (openacc.async.host2dev, openacc_async_host2dev) + || !DLSYM_OPT (openacc.get_property, openacc_get_property)) { /* Require all the OpenACC handlers if we have GOMP_OFFLOAD_CAP_OPENACC_200. */ |