Commit 65264b6
authored
[UR][CUDA][Coverity] Don't check nvmlShutdown return in destructor (#19512)
`UR_CHECK_ERROR` throws an exception so we can't use it from a
destructor.
Since devices only get released at application shutdown, there's not
much we can do if `nvmlShutdown` reports an error, and the OS will
promptly cleanup anything left as it tears down the process anyway.
So just skip checking the error code from `nvmlShutdown`, this is
already what we do for other cleanup/shutdown in this destructor.
Fixes: #195001 parent 2c20fc1 commit 65264b6
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
| 116 | + | |
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
| |||
0 commit comments