[all-commits] [llvm/llvm-project] 32dfbd: [libomptarget][nfc] Use cuda variable wrappers fro...

Jon Chesterfield via All-commits all-commits at lists.llvm.org
Thu Nov 14 04:45:20 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 32dfbd131da87c4ff1c6a417001bbbc003697867
      https://github.com/llvm/llvm-project/commit/32dfbd131da87c4ff1c6a417001bbbc003697867
  Author: JonChesterfield <jonathanchesterfield at gmail.com>
  Date:   2019-11-14 (Thu, 14 Nov 2019)

  Changed paths:
    M openmp/libomptarget/deviceRTLs/nvptx/src/data_sharing.cu
    M openmp/libomptarget/deviceRTLs/nvptx/src/debug.h
    M openmp/libomptarget/deviceRTLs/nvptx/src/libcall.cu
    M openmp/libomptarget/deviceRTLs/nvptx/src/support.cu

  Log Message:
  -----------
  [libomptarget][nfc] Use cuda variable wrappers from support.h

Summary:
[libomptarget][nfc] Use cuda variable wrappers from support.h
Reimplementation of D69693, after the revert of D69885

Use the wrappers in support.h for cuda builtin variables at all call sites.
Localises use of cuda and removes WARPSIZE==32 assumption in debug.h.

Reviewers: ABataev, jdoerfert, grokos

Reviewed By: jdoerfert

Subscribers: openmp-commits

Tags: #openmp

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




More information about the All-commits mailing list