[Openmp-commits] [PATCH] D87980: [OpenMP] Protect unrecogonized CUDA error code

Joseph Huber via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon Sep 21 09:00:48 PDT 2020


jhuber6 added a comment.

In D87980#2285545 <https://reviews.llvm.org/D87980#2285545>, @tianshilei1992 wrote:

> I also suggest to check `nullptr` before using `errStr`.

I think the errStr is only NULL on when it returns CUDA_FAILURE so it would be redundant.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D87980/new/

https://reviews.llvm.org/D87980



More information about the Openmp-commits mailing list