[PATCH] D113140: [OpenMP][NFCI] Introduce the kernel environment for target regions

Johannes Doerfert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 3 13:14:36 PDT 2021


jdoerfert created this revision.
jdoerfert added reviewers: jhuber6, ggeorgakoudis, tianshilei1992, JonChesterfield.
Herald added subscribers: asavonic, guansong, bollu, hiraditya, yaxunl, mgorny, jvesely.
jdoerfert requested review of this revision.
Herald added subscribers: llvm-commits, sstefan1.
Herald added projects: OpenMP, LLVM.

This introduces the kernel environment which contains information passed
by the compiler to a GPU kernel. For now it just encapsulated the
ident_t object that we passed explicitly before but we will add more
content, including mutable content, later on.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D113140

Files:
  llvm/include/llvm/Frontend/OpenMP/OMPKinds.def
  llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
  openmp/libomptarget/DeviceRTL/CMakeLists.txt
  openmp/libomptarget/DeviceRTL/include/Interface.h
  openmp/libomptarget/DeviceRTL/include/State.h
  openmp/libomptarget/DeviceRTL/src/Kernel.cpp
  openmp/libomptarget/DeviceRTL/src/State.cpp
  openmp/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt
  openmp/libomptarget/deviceRTLs/common/src/omptarget.cu
  openmp/libomptarget/deviceRTLs/interface.h
  openmp/libomptarget/deviceRTLs/nvptx/CMakeLists.txt
  openmp/libomptarget/include/KernelEnvironment.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D113140.384566.patch
Type: text/x-patch
Size: 13769 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211103/d6ac8466/attachment.bin>


More information about the llvm-commits mailing list