[all-commits] [llvm/llvm-project] e06966: [libomptarget][devicertl] Wrap source in declare t...

Jon Chesterfield via All-commits all-commits at lists.llvm.org
Wed Jan 20 07:51:10 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e069662deb1fa167b3e5fdce4c9949e663df8082
      https://github.com/llvm/llvm-project/commit/e069662deb1fa167b3e5fdce4c9949e663df8082
  Author: Jon Chesterfield <jonathanchesterfield at gmail.com>
  Date:   2021-01-20 (Wed, 20 Jan 2021)

  Changed paths:
    M openmp/libomptarget/deviceRTLs/amdgcn/src/amdgcn_locks.hip
    M openmp/libomptarget/deviceRTLs/amdgcn/src/amdgcn_smid.hip
    M openmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.hip
    M openmp/libomptarget/deviceRTLs/common/src/cancel.cu
    M openmp/libomptarget/deviceRTLs/common/src/critical.cu
    M openmp/libomptarget/deviceRTLs/common/src/data_sharing.cu
    M openmp/libomptarget/deviceRTLs/common/src/libcall.cu
    M openmp/libomptarget/deviceRTLs/common/src/loop.cu
    M openmp/libomptarget/deviceRTLs/common/src/omp_data.cu
    M openmp/libomptarget/deviceRTLs/common/src/omptarget.cu
    M openmp/libomptarget/deviceRTLs/common/src/parallel.cu
    M openmp/libomptarget/deviceRTLs/common/src/reduction.cu
    M openmp/libomptarget/deviceRTLs/common/src/support.cu
    M openmp/libomptarget/deviceRTLs/common/src/sync.cu
    M openmp/libomptarget/deviceRTLs/common/src/task.cu
    M openmp/libomptarget/deviceRTLs/nvptx/src/target_impl.cu

  Log Message:
  -----------
  [libomptarget][devicertl] Wrap source in declare target pragmas

[libomptarget][devicertl] Wrap source in declare target pragmas

Factored out of D93135 / D94745. C++ and cuda ignore unknown pragmas
so this is a NFC for the current implementation language. Removes noise
from patches for building deviceRTL as openmp.

Reviewed By: tianshilei1992

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




More information about the All-commits mailing list