]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fortran: openmp: Add support for thread_limit clause on target
authorTobias Burnus <tobias@codesourcery.com>
Mon, 15 Nov 2021 14:44:11 +0000 (15:44 +0100)
committerTobias Burnus <tobias@codesourcery.com>
Sun, 27 Feb 2022 20:55:48 +0000 (21:55 +0100)
commitc48a85897d3e0d0ee348fd5111bd1a9953923472
tree9fb8762f118a64e88a0da2a4f3ae573716ae6a32
parentfa4107fcf1766a78d5a43bd0d6075564f94d9e74
Fortran: openmp: Add support for thread_limit clause on target

gcc/fortran/ChangeLog:

* openmp.c (OMP_TARGET_CLAUSES): Add thread_limit.
* trans-openmp.c (gfc_split_omp_clauses): Add thread_limit also to
teams.

libgomp/ChangeLog:

* testsuite/libgomp.fortran/thread-limit-1.f90: New test.

(cherry picked from commit 82ec4cb3c43c7429be6b902d96770a6435fa068b)
gcc/fortran/ChangeLog.omp
gcc/fortran/openmp.c
gcc/fortran/trans-openmp.c
libgomp/ChangeLog.omp
libgomp/testsuite/libgomp.fortran/thread-limit-1.f90 [new file with mode: 0644]