[all-commits] [llvm/llvm-project] b8e297: [OpenMP][libomptarget] Improve kernel initializati...

Kevin Sala Penadés via All-commits all-commits at lists.llvm.org
Sun Aug 6 03:00:31 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b8e297d1af5ae42e81b4c79e14a6d2427db0311b
      https://github.com/llvm/llvm-project/commit/b8e297d1af5ae42e81b4c79e14a6d2427db0311b
  Author: Kevin Sala <kevin.sala at bsc.es>
  Date:   2023-08-06 (Sun, 06 Aug 2023)

  Changed paths:
    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

  Log Message:
  -----------
  [OpenMP][libomptarget] Improve kernel initialization in plugins

This patch modifies the plugins so that the initialization of KernelTy objects
is done in the init method. Part of the initialization was done in the
constructKernelEntry method. Now this method is called constructKernel
and only allocates and constructs a KernelTy object.

This patch prepares the kernel class for the new implementation of device
reductions.

Differential Revision: https://reviews.llvm.org/D156917




More information about the All-commits mailing list