[all-commits] [llvm/llvm-project] 208f90: [Libomptarget] Add an external interface to dynami...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Fri Oct 8 12:37:14 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 208f9005277a22d7e282a568ea7849895b2a09d3
https://github.com/llvm/llvm-project/commit/208f9005277a22d7e282a568ea7849895b2a09d3
Author: Joseph Huber <jhuber6 at vols.utk.edu>
Date: 2021-10-08 (Fri, 08 Oct 2021)
Changed paths:
M openmp/libomptarget/DeviceRTL/include/Interface.h
M openmp/libomptarget/DeviceRTL/src/State.cpp
M openmp/libomptarget/deviceRTLs/common/src/data_sharing.cu
M openmp/libomptarget/deviceRTLs/interface.h
M openmp/libomptarget/include/omptarget.h
M openmp/libomptarget/src/api.cpp
M openmp/libomptarget/src/exports
M openmp/libomptarget/test/api/omp_dynamic_shared_memory.c
Log Message:
-----------
[Libomptarget] Add an external interface to dynamic shared memory
This patch adds an external interface to access the dynamic shared
memory buffer in the device runtime. The function introduced is
``llvm_omp_get_dynamic_shared``. This includes a host-side
definition that only returns a null pointer so that it can be used when
host-fallback is enabled without crashing. Support for dynamic shared
memory was also ported to the old device runtime.
Reviewed By: JonChesterfield
Differential Revision: https://reviews.llvm.org/D110957
More information about the All-commits
mailing list