[all-commits] [llvm/llvm-project] d346c8: [OpenMP] Associate the KernelEnvironment with the ...

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Sun Oct 29 11:35:47 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d346c82435f377984c2ff3d7d4b5e3942c72bc17
      https://github.com/llvm/llvm-project/commit/d346c82435f377984c2ff3d7d4b5e3942c72bc17
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2023-10-29 (Sun, 29 Oct 2023)

  Changed paths:
    M clang/test/OpenMP/bug57757.cpp
    M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
    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
    M openmp/libomptarget/test/offloading/default_thread_limit.c
    M openmp/libomptarget/test/offloading/thread_state_1.c
    M openmp/libomptarget/test/offloading/thread_state_2.c

  Log Message:
  -----------
  [OpenMP] Associate the KernelEnvironment with the GenericKernelTy (#70383)

By associating the kernel environment with the generic kernel we can
access middle-end information easily, including the launch bounds ranges
that are acceptable. By constraining the number of threads accordingly,
we now obey the user-provided bounds that were passed via attributes.




More information about the All-commits mailing list