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

Jon Chesterfield via All-commits all-commits at lists.llvm.org
Tue Jan 26 12:48:27 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7baff00eeedb0d9bac5e7cd0c5e4189a6cc6101d
      https://github.com/llvm/llvm-project/commit/7baff00eeedb0d9bac5e7cd0c5e4189a6cc6101d
  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