[Openmp-commits] [PATCH] D123246: [OpenMP] Add dynamic memory function to omp.h and add documentation

Joseph Huber via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed Apr 6 12:59:46 PDT 2022


jhuber6 created this revision.
jhuber6 added reviewers: jdoerfert, JonChesterfield.
Herald added subscribers: guansong, yaxunl.
Herald added a project: All.
jhuber6 requested review of this revision.
Herald added subscribers: openmp-commits, sstefan1.
Herald added a project: OpenMP.

This patch adds the `llvm_omp_target_dynamic_shared_alloc` function to
the `omp.h` header file so users can access it by default. Also changed
the name to keep it consistent with the other target allocators. Added
some documentation so users know how to use it. Didn't add the interface
for Fortran since there's no way to test it right now.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D123246

Files:
  openmp/docs/design/Runtimes.rst
  openmp/libomptarget/DeviceRTL/include/Interface.h
  openmp/libomptarget/DeviceRTL/src/State.cpp
  openmp/libomptarget/include/omptarget.h
  openmp/libomptarget/src/api.cpp
  openmp/libomptarget/src/exports
  openmp/libomptarget/test/api/omp_dynamic_shared_memory.c
  openmp/runtime/src/include/omp.h.var

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123246.420988.patch
Type: text/x-patch
Size: 5685 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20220406/5f8a04c6/attachment-0001.bin>


More information about the Openmp-commits mailing list