[all-commits] [llvm/llvm-project] b1ce45: [OpenMP] Remove macro guards for device debugging

Joseph Huber via All-commits all-commits at lists.llvm.org
Tue Oct 19 09:22:09 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b1ce4549307d776a045d09c9d30433757ec36981
      https://github.com/llvm/llvm-project/commit/b1ce4549307d776a045d09c9d30433757ec36981
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2021-10-19 (Tue, 19 Oct 2021)

  Changed paths:
    M openmp/libomptarget/plugins/amdgpu/src/rtl.cpp
    M openmp/libomptarget/plugins/cuda/src/rtl.cpp

  Log Message:
  -----------
  [OpenMP] Remove macro guards for device debugging

The plugin currently uses a macro to check if this is a debug built
before assigning the debug kind variable to the device environment
struct. This is being deprecated because the new device runtime does not
maintain separate debug builds and should always be availible.

Reviewed By: tianshilei1992

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




More information about the All-commits mailing list