diff options
author | Andrew Stubbs <ams@codesourcery.com> | 2022-03-10 21:38:54 +0000 |
---|---|---|
committer | Hafiz Abid Qadeer <abidh@codesourcery.com> | 2022-03-11 23:03:58 +0000 |
commit | 8126f3f00f8037b366569301ed354f0e495d8a6a (patch) | |
tree | 9af7dbbb3cd39da395e1af002ac092f290aab872 /libgomp/omp.h.in | |
parent | a17e41ca17ae8182986ac4117c93e1423ae8d37a (diff) | |
download | gcc-8126f3f00f8037b366569301ed354f0e495d8a6a.tar.gz |
openmp: allow requires unified_shared_memory
This is the front-end portion of the Unified Shared Memory implementation.
It checks that -foffload-memory isn't set to an incompatible mode.
Backport of the patch posted at
https://gcc.gnu.org/pipermail/gcc-patches/2022-March/591351.html
gcc/c/ChangeLog:
* c-parser.c (c_parser_omp_requires): Check compatibility of
-foffload-memory option with requires directive.
gcc/cp/ChangeLog:
* parser.c (cp_parser_omp_requires): Check compatibility of
-foffload-memory option with requires directive.
gcc/fortran/ChangeLog:
* openmp.c (gfc_match_omp_requires): Check compatibility of
-foffload-memory option with requires directive.
gcc/testsuite/ChangeLog:
* c-c++-common/gomp/usm-1.c: New test.
* gfortran.dg/gomp/usm-1.f90: New test.
Diffstat (limited to 'libgomp/omp.h.in')
0 files changed, 0 insertions, 0 deletions