[Openmp-commits] [PATCH] D59783: [OpenMP] Implement 5.0 memory management

Jonathan Peyton via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon Mar 25 10:51:30 PDT 2019


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

- Replace HBWMALLOC API with more general MEMKIND API, new functions and variables added.
- Have libmemkind.so loaded when accessible.
- Redirect memspaces to default one except for high bandwidth which is processed separately.
- Ignore some allocator traits e.g., sync_hint, access, pinned, while others are processed normally e.g., alignment, pool_size, fallback, fb_data, partition.
- Add tests for memory management

Patch by Andrey Churbanov


Repository:
  rOMP OpenMP

https://reviews.llvm.org/D59783

Files:
  runtime/src/dllexports
  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_csupport.cpp
  runtime/src/kmp_ftn_entry.h
  runtime/src/kmp_ftn_os.h
  runtime/src/kmp_global.cpp
  runtime/src/kmp_settings.cpp
  runtime/src/kmp_stub.cpp
  runtime/test/api/omp_alloc.c
  runtime/test/api/omp_alloc_def_fb.c
  runtime/test/api/omp_alloc_hbw.c
  runtime/test/api/omp_alloc_null_fb.c
  runtime/tools/generate-def.pl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59783.192146.patch
Type: text/x-patch
Size: 69418 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20190325/54e74677/attachment-0001.bin>


More information about the Openmp-commits mailing list