[all-commits] [llvm/llvm-project] 40f9bf: [OpenMP] Introduce the `ompx_dyn_cgroup_mem(<N>)` ...
Johannes Doerfert via All-commits
all-commits at lists.llvm.org
Sat Jan 21 18:53:06 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 40f9bf082ff0c837b8801e907f582990828b78b9
https://github.com/llvm/llvm-project/commit/40f9bf082ff0c837b8801e907f582990828b78b9
Author: Johannes Doerfert <johannes at jdoerfert.de>
Date: 2023-01-21 (Sat, 21 Jan 2023)
Changed paths:
M clang/include/clang/AST/OpenMPClause.h
M clang/include/clang/AST/RecursiveASTVisitor.h
M clang/include/clang/Sema/Sema.h
M clang/lib/AST/OpenMPClause.cpp
M clang/lib/AST/StmtProfile.cpp
M clang/lib/CodeGen/CGOpenMPRuntime.cpp
M clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
M clang/lib/Parse/ParseOpenMP.cpp
M clang/lib/Sema/SemaOpenMP.cpp
M clang/lib/Sema/TreeTransform.h
M clang/lib/Serialization/ASTReader.cpp
M clang/lib/Serialization/ASTWriter.cpp
A clang/test/OpenMP/target_ompx_dyn_cgroup_mem_codegen.cpp
A clang/test/OpenMP/target_ompx_dyn_cgroup_mem_messages.cpp
M clang/tools/libclang/CIndex.cpp
M llvm/include/llvm/Frontend/OpenMP/OMP.td
M openmp/docs/design/Runtimes.rst
M openmp/libomptarget/plugins-nextgen/amdgpu/src/rtl.cpp
M openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.cpp
M openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.h
M openmp/libomptarget/plugins-nextgen/cuda/src/rtl.cpp
M openmp/libomptarget/plugins-nextgen/generic-elf-64bit/src/rtl.cpp
A openmp/libomptarget/test/api/omp_dynamic_shared_memory_mixed.c
Log Message:
-----------
[OpenMP] Introduce the `ompx_dyn_cgroup_mem(<N>)` clause
Dynamic memory allows users to allocate fast shared memory when a kernel
is launched. We support a single size for all kernels via the
`LIBOMPTARGET_SHARED_MEMORY_SIZE` environment variable but now we can
control it per kernel invocation, hence allow computed values.
Note: Only the nextgen plugins will allocate memory based on the clause,
the old plugins will silently miscompile.
Differential Revision: https://reviews.llvm.org/D141233
More information about the All-commits
mailing list