[all-commits] [llvm/llvm-project] f7e020: [OpenMP][libomptarget] Add missing field in Generi...

Kevin Sala Penadés via All-commits all-commits at lists.llvm.org
Wed Aug 2 08:19:23 PDT 2023


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

  Changed paths:
    M openmp/libomptarget/plugins-nextgen/generic-elf-64bit/src/rtl.cpp

  Log Message:
  -----------
  [OpenMP][libomptarget] Add missing field in GenericELF64bit grid values


  Commit: 4f46a48aafd53a6bbb74805a509eaa6752a6e30a
      https://github.com/llvm/llvm-project/commit/4f46a48aafd53a6bbb74805a509eaa6752a6e30a
  Author: Kevin Sala <kevin.sala at bsc.es>
  Date:   2023-08-02 (Wed, 02 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] Remove unused virtual functions in GenericKernelTy

The virtual functions getDefaultNumBlocks and getDefaultNumThreads from the kernels are
only forwarding the call to the generic device's ones. This patch removes those two
functions from the kernels (and their derived ones). Now calls are made to the device's
functions directly.

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


Compare: https://github.com/llvm/llvm-project/compare/45760be33b82...4f46a48aafd5


More information about the All-commits mailing list