diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2022-07-05 11:04:46 +0200 |
---|---|---|
committer | Thomas Schwinge <thomas@codesourcery.com> | 2022-07-06 22:51:24 +0200 |
commit | 2f0d819a81edee50a98a8a05eed585f0a72bb932 (patch) | |
tree | 438f1c3e492ae7ac111f6667f6b59b15537b7318 /gcc | |
parent | e46f4d7430c5210465791603735ab219ef263c51 (diff) | |
download | gcc-2f0d819a81edee50a98a8a05eed585f0a72bb932.zip gcc-2f0d819a81edee50a98a8a05eed585f0a72bb932.tar.gz gcc-2f0d819a81edee50a98a8a05eed585f0a72bb932.tar.bz2 |
Define 'OMP_REQUIRES_[...]', 'GOMP_REQUIRES_[...]' in a single place
Clean up for recent commit 683f11843974f0bdf42f79cdcbb0c2b43c7b81b0
"OpenMP: Move omp requires checks to libgomp".
gcc/
* omp-general.h (enum omp_requires): Use 'GOMP_REQUIRES_[...]'.
include/
* gomp-constants.h (OMP_REQUIRES_[...]): Update comment.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/omp-general.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/omp-general.h b/gcc/omp-general.h index 7a94831..74e90e1 100644 --- a/gcc/omp-general.h +++ b/gcc/omp-general.h @@ -126,12 +126,12 @@ extern int oacc_get_ifn_dim_arg (const gimple *stmt); enum omp_requires { OMP_REQUIRES_ATOMIC_DEFAULT_MEM_ORDER = 0xf, - OMP_REQUIRES_UNIFIED_ADDRESS = 0x10, - OMP_REQUIRES_UNIFIED_SHARED_MEMORY = 0x20, + OMP_REQUIRES_UNIFIED_ADDRESS = GOMP_REQUIRES_UNIFIED_ADDRESS, + OMP_REQUIRES_UNIFIED_SHARED_MEMORY = GOMP_REQUIRES_UNIFIED_SHARED_MEMORY, OMP_REQUIRES_DYNAMIC_ALLOCATORS = 0x40, - OMP_REQUIRES_REVERSE_OFFLOAD = 0x80, + OMP_REQUIRES_REVERSE_OFFLOAD = GOMP_REQUIRES_REVERSE_OFFLOAD, OMP_REQUIRES_ATOMIC_DEFAULT_MEM_ORDER_USED = 0x100, - OMP_REQUIRES_TARGET_USED = 0x200 + OMP_REQUIRES_TARGET_USED = GOMP_REQUIRES_TARGET_USED, }; extern GTY(()) enum omp_requires omp_requires_mask; |