[all-commits] [llvm/llvm-project] 9b2c6c: [libomptarget][amdgpu] Refactor debug printing

Jon Chesterfield via All-commits all-commits at lists.llvm.org
Wed Aug 25 06:58:15 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9b2c6c07b54ac627403d679b8de8f87e90715913
      https://github.com/llvm/llvm-project/commit/9b2c6c07b54ac627403d679b8de8f87e90715913
  Author: Jon Chesterfield <jonathanchesterfield at gmail.com>
  Date:   2021-08-25 (Wed, 25 Aug 2021)

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

  Log Message:
  -----------
  [libomptarget][amdgpu] Refactor debug printing

Move most debug printing in rtl.cpp behind DP() macro
Adjust the print output for gpu arch mismatch when the architectures match
Convert an assert into graceful failure

Reviewed By: jdoerfert

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




More information about the All-commits mailing list