This patch changes __kmpc_free_shared to take an additional argument
corresponding to the associated allocation's size. This makes it easier to
implement the allocator in the runtime.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D106496
[OpenMP] Change `__kmpc_free_shared` to include the paired allocation size ClosedPublic Authored by jhuber6 on Jul 21 2021, 2:14 PM.
Details Summary This patch changes __kmpc_free_shared to take an additional argument
Diff Detail
Unit TestsFailed Event TimelineHerald added projects: Restricted Project, Restricted Project, Restricted Project. · View Herald TranscriptJul 21 2021, 2:14 PM Herald added subscribers: llvm-commits, openmp-commits, cfe-commits, sstefan1. · View Herald Transcript
This revision is now accepted and ready to land.Jul 21 2021, 3:00 PM This revision was landed with ongoing or failed builds.Jul 21 2021, 5:56 PM Closed by commit rG754eb1c210d8: [OpenMP] Change `__kmpc_free_shared` to include the paired allocation size (authored by jhuber6). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 360610 clang/lib/CodeGen/CGOpenMPRuntimeGPU.h
clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
clang/test/OpenMP/declare_target_codegen_globalization.cpp
clang/test/OpenMP/nvptx_data_sharing.cpp
clang/test/OpenMP/nvptx_distribute_parallel_generic_mode_codegen.cpp
clang/test/OpenMP/nvptx_parallel_codegen.cpp
clang/test/OpenMP/nvptx_parallel_for_codegen.cpp
clang/test/OpenMP/nvptx_target_codegen.cpp
clang/test/OpenMP/nvptx_target_parallel_reduction_codegen_tbaa_PR46146.cpp
clang/test/OpenMP/nvptx_target_teams_distribute_codegen.cpp
clang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_codegen.cpp
clang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_simd_codegen.cpp
clang/test/OpenMP/nvptx_teams_codegen.cpp
clang/test/OpenMP/nvptx_teams_reduction_codegen.cpp
llvm/include/llvm/Analysis/TargetLibraryInfo.def
llvm/include/llvm/Frontend/OpenMP/OMPKinds.def
llvm/lib/Analysis/MemoryBuiltins.cpp
llvm/lib/Analysis/TargetLibraryInfo.cpp
llvm/test/Transforms/OpenMP/remove_globalization.ll
llvm/test/Transforms/OpenMP/replace_globalization.ll
llvm/unittests/Analysis/TargetLibraryInfoTest.cpp
openmp/libomptarget/deviceRTLs/common/src/data_sharing.cu
openmp/libomptarget/deviceRTLs/interface.h
|
clang-format: please reformat the code