[PATCH] D116908: [OpenMP][1/3] Introduce the KernelEnvironment into the device runtimes

Johannes Doerfert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 9 19:15:16 PST 2022


jdoerfert created this revision.
jdoerfert added reviewers: jhuber6, tianshilei1992, JonChesterfield.
Herald added subscribers: guansong, bollu, yaxunl.
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 mostly encapsulated the
ident_t object and the execution configuration, thus information we
passed explicitly before. We will add more content, including mutable
content similar to the debug indention level, later on.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D116908

Files:
  llvm/include/llvm/Frontend/OpenMP/ConfigurationEnvironment.h
  llvm/include/llvm/Frontend/OpenMP/Environment.h
  llvm/include/llvm/Frontend/OpenMP/KernelEnvironment.h
  openmp/libomptarget/DeviceRTL/include/Interface.h
  openmp/libomptarget/DeviceRTL/include/State.h
  openmp/libomptarget/DeviceRTL/src/Debug.cpp
  openmp/libomptarget/DeviceRTL/src/Kernel.cpp
  openmp/libomptarget/DeviceRTL/src/State.cpp
  openmp/libomptarget/deviceRTLs/common/src/omptarget.cu
  openmp/libomptarget/deviceRTLs/interface.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116908.398487.patch
Type: text/x-patch
Size: 13206 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220110/cfcbdc72/attachment.bin>


More information about the llvm-commits mailing list