[Openmp-commits] [PATCH] D51232: [OpenMP] Initial implementation of OMP 5.0 Memory Management routines

Jonathan Peyton via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Fri Aug 24 13:29:13 PDT 2018


jlpeyton created this revision.
jlpeyton added reviewers: tlwilmar, hbae, omalyshe.
jlpeyton added a project: OpenMP.
Herald added subscribers: jfb, guansong.

Implemented omp_alloc, omp_free, omp_{set,get}_default_allocator entries, 
and OMP_ALLOCATOR environment variable.

      

Added support for HBW memory on Linux if libmemkind.so library is accessible
(dynamic library only, no support for static libraries).
Only used stable API (hbwmalloc) of the memkind library
though we may consider using experimental API in future.

      

The ICV def-allocator-var is implemented per implicit task similar to place-partition-var.
In the absence of a requested allocator, the uses the default allocator.

      

Predefined allocators (the only ones currently available) are made similar
for C and Fortran, - pointers (long integers) with values 1 to 8.

Patch by Andrey Churbanov


Repository:
  rOMP OpenMP

https://reviews.llvm.org/D51232

Files:
  runtime/src/dllexports
  runtime/src/exports_so.txt
  runtime/src/i18n/en_US.txt
  runtime/src/include/50/omp.h.var
  runtime/src/include/50/omp_lib.f.var
  runtime/src/include/50/omp_lib.f90.var
  runtime/src/include/50/omp_lib.h.var
  runtime/src/kmp.h
  runtime/src/kmp_alloc.cpp
  runtime/src/kmp_barrier.cpp
  runtime/src/kmp_csupport.cpp
  runtime/src/kmp_ftn_entry.h
  runtime/src/kmp_ftn_os.h
  runtime/src/kmp_global.cpp
  runtime/src/kmp_runtime.cpp
  runtime/src/kmp_settings.cpp
  runtime/src/kmp_stub.cpp
  runtime/test/api/omp_alloc.c
  runtime/tools/generate-def.pl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51232.162465.patch
Type: text/x-patch
Size: 38747 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20180824/418529af/attachment-0001.bin>


More information about the Openmp-commits mailing list