[all-commits] [llvm/llvm-project] 1b19c4: [OpenMP][deviceRTLs] Separate declaration of targe...

Shilei Tian via All-commits all-commits at lists.llvm.org
Thu Jan 28 05:19:37 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1b19c423029bd8eca75efe5cdb29ffd9f5b33feb
      https://github.com/llvm/llvm-project/commit/1b19c423029bd8eca75efe5cdb29ffd9f5b33feb
  Author: Shilei Tian <tianshilei1992 at gmail.com>
  Date:   2021-01-28 (Thu, 28 Jan 2021)

  Changed paths:
    M openmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.h
    M openmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.hip
    M openmp/libomptarget/deviceRTLs/common/debug.h
    M openmp/libomptarget/deviceRTLs/common/omptarget.h
    M openmp/libomptarget/deviceRTLs/nvptx/src/target_impl.h
    A openmp/libomptarget/deviceRTLs/target_interface.h

  Log Message:
  -----------
  [OpenMP][deviceRTLs] Separate declaration of target dependent functions from `target_impl.h`

This patch created a new header file `target_interface.h` for declarations of all target dependent functions. All future targets can get things work by simply implementing all functions declared in the header and macros/data same as each `target_impl.h`.

Reviewed By: JonChesterfield

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




More information about the All-commits mailing list