[all-commits] [llvm/llvm-project] 293384: [OpenMP] Trim error messages in CUDA plugin

Joseph Huber via All-commits all-commits at lists.llvm.org
Mon Mar 29 09:20:58 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 29338459fb7e5f063ec5c22bd4aa0067647317cf
      https://github.com/llvm/llvm-project/commit/29338459fb7e5f063ec5c22bd4aa0067647317cf
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2021-03-29 (Mon, 29 Mar 2021)

  Changed paths:
    M openmp/docs/design/Runtimes.rst
    M openmp/libomptarget/plugins/cuda/src/rtl.cpp

  Log Message:
  -----------
  [OpenMP] Trim error messages in CUDA plugin

Summary:
Remove some of the error messages printed when the CUDA plugin fails. The current error messages can be confusing because they are the first error messages printed after the async stream finds an error. This means that the printed values aren't related to what caused the issue, but are simply the last asyncronous operation that succeeded on the device. Remove these as they can be misleading.

Reviewers: jdoerfert

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




More information about the All-commits mailing list