We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1a32ba commit 273ac6bCopy full SHA for 273ac6b
source/adapters/cuda/command_buffer.cpp
@@ -66,7 +66,9 @@ ur_exp_command_buffer_handle_t_::~ur_exp_command_buffer_handle_t_() {
66
cuGraphDestroy(CudaGraph);
67
68
// Release the memory allocated to the CudaGraphExec
69
- cuGraphExecDestroy(CudaGraphExec);
+ if (CudaGraphExec) {
70
+ cuGraphExecDestroy(CudaGraphExec);
71
+ }
72
}
73
74
ur_exp_command_buffer_command_handle_t_::
0 commit comments