Tobias Burnus
76bb3c50dd
Fortran/OpenMP: Add memory routines existing for C/C++
...
This patch adds the Fortran interface for omp_alloc/omp_free
and the omp_target_* memory routines, which were added in
OpenMP 5.0 for C/C++ but only OpenMP 5.1 added them for Fortran.
Those functions use BIND(C), i.e. on the libgomp side, the same
interface as for C/C++ is used.
Note: By using BIND(C) in omp_lib.h, files including this file
no longer compiler with -std=f95 but require at least -std=f2003.
libgomp/ChangeLog:
* omp_lib.f90.in (omp_alloc, omp_free, omp_target_alloc,
omp_target_free. omp_target_is_present, omp_target_memcpy,
omp_target_memcpy_rect, omp_target_associate_ptr,
omp_target_disassociate_ptr): Add interface.
* omp_lib.h.in (omp_alloc, omp_free, omp_target_alloc,
omp_target_free. omp_target_is_present, omp_target_memcpy,
omp_target_memcpy_rect, omp_target_associate_ptr,
omp_target_disassociate_ptr): Add interface.
* testsuite/libgomp.fortran/alloc-1.F90: Remove local
interface block for omp_alloc + omp_free.
* testsuite/libgomp.fortran/alloc-4.f90: Likewise.
* testsuite/libgomp.fortran/refcount-1.f90: New test.
* testsuite/libgomp.fortran/target-12.f90: New test.
2021-08-18 11:15:47 +02:00
..
2019-08-17 11:57:25 +00:00
2019-10-30 12:44:54 +01:00
2020-11-05 10:32:56 -08:00
2019-10-30 12:44:54 +01:00
2021-08-18 11:15:47 +02:00
2020-07-15 08:33:20 +02:00
2020-07-15 08:33:20 +02:00
2021-08-18 11:15:47 +02:00
2020-07-15 08:33:20 +02:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-11-04 11:01:22 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2020-05-23 19:01:43 +02:00
2019-12-12 00:58:04 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2021-05-24 16:50:51 +02:00
2021-05-24 16:50:51 +02:00
2021-05-24 16:50:51 +02:00
2020-05-14 18:33:24 +02:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2020-07-22 12:14:22 +02:00
2020-07-22 12:14:22 +02:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2020-09-30 14:59:27 +02:00
2021-06-29 15:50:23 +02:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2021-05-28 10:46:23 +02:00
2021-05-04 09:22:36 +02:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2021-02-22 13:20:26 +01:00
2019-10-09 10:37:44 +02:00
2021-01-19 11:58:21 +01:00
2019-12-11 12:45:49 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2020-08-20 13:33:40 +02:00
2020-11-05 10:32:56 -08:00
2020-11-05 10:32:56 -08:00
2020-10-13 13:21:02 -07:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2020-09-15 09:24:47 +02:00
2020-09-15 09:24:47 +02:00
2021-08-16 09:26:26 +02:00
2020-11-05 10:32:56 -08:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2021-03-29 10:40:38 +02:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2020-01-03 13:56:46 +01:00
2021-05-14 19:21:47 +02:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-11-04 14:18:50 +01:00
2019-11-04 14:18:50 +01:00
2020-05-13 10:06:45 +02:00
2020-05-13 10:06:45 +02:00
2020-09-22 19:16:34 +02:00
2020-05-13 10:06:45 +02:00
2020-05-13 10:06:45 +02:00
2020-05-13 10:06:45 +02:00
2020-05-13 10:06:45 +02:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 11:33:58 +01:00
2020-08-08 11:10:30 +02:00
2020-10-05 08:53:11 +02:00
2021-06-10 09:31:06 +02:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2021-08-18 11:15:47 +02:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2020-12-08 16:54:22 +01:00
2021-08-17 15:51:03 +02:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2020-07-15 12:34:03 +02:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-11-11 09:50:40 +01:00
2021-08-05 23:29:03 +08:00
2021-08-18 11:15:47 +02:00
2020-04-10 15:44:17 +02:00
2020-04-20 23:16:40 +02:00
2020-07-14 12:55:53 +02:00
2019-11-27 18:50:55 +01:00
2019-11-27 18:50:55 +01:00
2019-10-30 11:33:58 +01:00
2020-06-08 23:24:57 +02:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2021-02-25 14:47:11 -08:00
2021-02-25 14:47:11 -08:00
2021-02-25 14:47:11 -08:00
2021-02-25 14:47:11 -08:00
2021-02-25 14:47:11 -08:00
2021-04-15 11:13:27 +02:00
2021-02-25 14:47:11 -08:00
2021-02-25 14:47:11 -08:00
2021-02-25 14:47:11 -08:00
2021-02-25 14:47:11 -08:00
2021-02-25 14:47:11 -08:00
2021-05-13 00:14:34 +02:00
2021-08-17 15:51:03 +02:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-11-04 14:18:50 +01:00
2019-11-04 14:18:50 +01:00
2019-11-04 14:18:50 +01:00
2020-11-05 10:32:56 -08:00
2019-12-04 09:47:13 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-12-06 14:06:53 +01:00
2019-12-06 14:06:53 +01:00
2019-12-09 12:21:22 +01:00
2019-12-09 12:21:22 +01:00
2019-11-11 09:50:29 +01:00
2021-03-12 16:33:02 +01:00
2019-11-11 10:19:29 +01:00
2020-04-29 09:24:07 +02:00
2020-06-18 00:14:46 +02:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00
2019-10-30 12:44:54 +01:00