[all-commits] [llvm/llvm-project] 48c54f: [OpenMP][NVPTX] Added forward declaration for atom...

Shilei Tian via All-commits all-commits at lists.llvm.org
Thu Jan 21 07:41:44 PST 2021


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

  Changed paths:
    M openmp/libomptarget/deviceRTLs/nvptx/src/target_impl.h

  Log Message:
  -----------
  [OpenMP][NVPTX] Added forward declaration for atomic operations

Pretty similar to D95058, this patch added forward declaration for
CUDA atomic functions. We already have definitions with right mangled names in
internal CUDA headers so the forward declaration here can work properly.

Reviewed By: jdoerfert, JonChesterfield

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




More information about the All-commits mailing list