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 b54dd5e commit 8396551Copy full SHA for 8396551
resolve/workspace/LinAlgWorkspaceCUDA.cpp
@@ -100,9 +100,9 @@ namespace ReSolve
100
if (buffer_spmv_ != nullptr)
101
mem_.deleteOnDevice(buffer_spmv_);
102
if (buffer_scale_add_i != nullptr)
103
- mem_.deleteOnDevice(buffer_scale_add_i);
+ delete buffer_scale_add_i;
104
if (buffer_scale_add_b != nullptr)
105
- mem_.deleteOnDevice(buffer_scale_add_b);
+ delete buffer_scale_add_b;
106
if (d_r_size_ != 0)
107
mem_.deleteOnDevice(d_r_);
108
if (norm_buffer_ready_)
0 commit comments