[all-commits] [llvm/llvm-project] 03111e: [OpenMP] Protect unrecogonized CUDA error code
Ye Luo via All-commits
all-commits at lists.llvm.org
Mon Sep 21 10:43:27 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 03111e5e7a8690300966a39f0aa2e4f2b4ec919a
https://github.com/llvm/llvm-project/commit/03111e5e7a8690300966a39f0aa2e4f2b4ec919a
Author: Ye Luo <yeluo at anl.gov>
Date: 2020-09-21 (Mon, 21 Sep 2020)
Changed paths:
M openmp/libomptarget/plugins/cuda/src/rtl.cpp
Log Message:
-----------
[OpenMP] Protect unrecogonized CUDA error code
If an error code can not be recognized by cuGetErrorString, errStr remains null and causes crashing at DP() printing.
Protect this case.
Reviewed By: jhuber6, tianshilei1992
Differential Revision: https://reviews.llvm.org/D87980
More information about the All-commits
mailing list