We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 921b931 commit 957301fCopy full SHA for 957301f
1 file changed
src/gpuarray_buffer_cuda.c
@@ -851,8 +851,8 @@ static void cuda_free(gpudata *d) {
851
d->ptr + d->sz == next->ptr) {
852
d->sz = d->sz + next->sz;
853
d->next = next->next;
854
- cuda_wait(next, CUDA_WAIT_ALL);
855
- cuda_record(d, CUDA_WAIT_ALL);
+ cuda_waits(next, CUDA_WAIT_ALL, d->ls);
+ cuda_records(d, CUDA_WAIT_ALL, d->ls);
856
deallocate(next);
857
} else {
858
d->next = next;
0 commit comments