diff options
author | Tobias Burnus <tobias@codesourcery.com> | 2020-07-15 08:33:20 +0200 |
---|---|---|
committer | Tobias Burnus <tobias@codesourcery.com> | 2020-07-15 08:33:20 +0200 |
commit | fff15bad1ab571906c37b88380431768d917dcb0 (patch) | |
tree | db37c1397b78b5430555ef4c30fa39d6d288551c /libgomp/libgomp.map | |
parent | 8ca07a3072438fa5e76f2b2cea9e51a98760a86f (diff) | |
download | gcc-fff15bad1ab571906c37b88380431768d917dcb0.tar.gz |
libgomp: Add Fortran routine support for allocators
libgomp/ChangeLog:
* allocator.c: Add ialias for omp_init_allocator and
omp_destroy_allocator.
* configure.ac: Set INTPTR_T_KIND.
* configure: Regenerate.
* Makefile.in: Regenerate.
* testsuite/Makefile.in: Regenerate.
* fortran.c (omp_init_allocator_, omp_destroy_allocator_,
omp_set_default_allocator_, omp_get_default_allocator_): New
functions and ialias_redirect.
* icv.c: Add ialias for omp_set_default_allocator and
omp_get_default_allocator.
* libgomp.map (OMP_5.0.1): Add omp_init_allocator_,
omp_destroy_allocator_, omp_set_default_allocator_ and
omp_get_default_allocator_.
* omp_lib.f90.in: Add allocator traits parameters, declare
allocator routines and add related kind parameters.
* omp_lib.h.in: Likewise.
* testsuite/libgomp.c-c++-common/alloc-2.c: Fix sizeof.
* testsuite/libgomp.fortran/alloc-1.F90: New test.
* testsuite/libgomp.fortran/alloc-2.F90: New test.
* testsuite/libgomp.fortran/alloc-3.F: New test.
* testsuite/libgomp.fortran/alloc-4.f90: New test.
* testsuite/libgomp.fortran/alloc-5.f90: New test.
Diffstat (limited to 'libgomp/libgomp.map')
-rw-r--r-- | libgomp/libgomp.map | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libgomp/libgomp.map b/libgomp/libgomp.map index 012e3d645fe..c808e810702 100644 --- a/libgomp/libgomp.map +++ b/libgomp/libgomp.map @@ -183,9 +183,14 @@ OMP_5.0 { OMP_5.0.1 { global: omp_set_default_allocator; + omp_set_default_allocator_; omp_get_default_allocator; + omp_get_default_allocator_; omp_init_allocator; + omp_init_allocator_; + omp_init_allocator_8_; omp_destroy_allocator; + omp_destroy_allocator_; omp_alloc; omp_free; } OMP_5.0; |