-
- Downloads
[OpenMP] Add dynamic memory function to omp.h and add documentation
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. Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D123246
Showing
- openmp/docs/design/Runtimes.rst 37 additions, 3 deletionsopenmp/docs/design/Runtimes.rst
- openmp/libomptarget/DeviceRTL/include/Interface.h 1 addition, 1 deletionopenmp/libomptarget/DeviceRTL/include/Interface.h
- openmp/libomptarget/DeviceRTL/src/State.cpp 4 additions, 0 deletionsopenmp/libomptarget/DeviceRTL/src/State.cpp
- openmp/libomptarget/include/omptarget.h 1 addition, 1 deletionopenmp/libomptarget/include/omptarget.h
- openmp/libomptarget/src/api.cpp 1 addition, 0 deletionsopenmp/libomptarget/src/api.cpp
- openmp/libomptarget/src/exports 1 addition, 1 deletionopenmp/libomptarget/src/exports
- openmp/libomptarget/test/api/omp_dynamic_shared_memory.c 2 additions, 4 deletionsopenmp/libomptarget/test/api/omp_dynamic_shared_memory.c
- openmp/runtime/src/include/omp.h.var 3 additions, 0 deletionsopenmp/runtime/src/include/omp.h.var
Loading
Please register or sign in to comment