[all-commits] [llvm/llvm-project] 616eb0: [mlir][gpu] Fix error message on unknown CUDA erro...
Ingo Müller via All-commits
all-commits at lists.llvm.org
Fri Aug 11 01:05:13 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 616eb0b2c4d5441ce9c649fd469f1778b8f4dd1b
https://github.com/llvm/llvm-project/commit/616eb0b2c4d5441ce9c649fd469f1778b8f4dd1b
Author: Ingo Müller <ingomueller at google.com>
Date: 2023-08-11 (Fri, 11 Aug 2023)
Changed paths:
M mlir/lib/Dialect/GPU/Transforms/SerializeToCubin.cpp
Log Message:
-----------
[mlir][gpu] Fix error message on unknown CUDA error code.
This patch fixes the output of the error message that is printed when
the CUDA library cannot identity the error code. In that case, no error
message is provided by the library, and the previous implementation just
printed the content of a randomly initialized pointer. This patch
initializes the pointer to nullptr and only prints the content if that
has changed.
Reviewed By: Mogball
Differential Revision: https://reviews.llvm.org/D156791
More information about the All-commits
mailing list