HomePhabricator

[OpenMP] Protect unrecogonized CUDA error code

Authored by ye-luo on Sep 21 2020, 10:42 AM.

Description

[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

Details

Committed
tianshilei1992Sep 21 2020, 10:43 AM
Reviewer
jhuber6
Differential Revision
D87980: [OpenMP] Protect unrecogonized CUDA error code
Parents
rG64e2cb7e9605: [SCEV] Recognize @llvm.uadd.sat as `%y + umin(%x, (-1 - %y))`
Branches
Unknown
Tags
Unknown