From 6fc0385c0ce39470e137eab27dee8955b3f98258 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Fri, 10 Jan 2020 23:24:36 +0100 Subject: 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 --- include/ChangeLog | 4 ++++ include/gomp-constants.h | 15 --------------- 2 files changed, 4 insertions(+), 15 deletions(-) (limited to 'include') diff --git a/include/ChangeLog b/include/ChangeLog index 0069df3c5c6..8a2feb911cb 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2020-01-10 Thomas Schwinge + + * gomp-constants.h (enum gomp_device_property): Remove. + 2020-01-01 Jakub Jelinek Update copyright years. diff --git a/include/gomp-constants.h b/include/gomp-constants.h index 5a7cc2c3f01..1587e4d2ba2 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) -- cgit v1.2.3