[all-commits] [llvm/llvm-project] fafd45: [libomptarget][cuda] Gracefully handle missing cud...

Jon Chesterfield via All-commits all-commits at lists.llvm.org
Mon Jan 25 18:54:22 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fafd45c01f3a49a40b09a31e9ea82efc87f3ab35
      https://github.com/llvm/llvm-project/commit/fafd45c01f3a49a40b09a31e9ea82efc87f3ab35
  Author: Jon Chesterfield <jonathanchesterfield at gmail.com>
  Date:   2021-01-26 (Tue, 26 Jan 2021)

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

  Log Message:
  -----------
  [libomptarget][cuda] Gracefully handle missing cuda library

[libomptarget][cuda] Gracefully handle missing cuda library

If using dynamic cuda, and it failed to load, it is not safe to call
cuGetErrorString.

Reviewed By: jdoerfert

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




More information about the All-commits mailing list