inducer / inducer/pyopencl

SVM deallocation should wait for completion of operations on them

Open
#449 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.2k
Forks
247
Avg merge
7h 2m
Merged PRs (30d)
6

Description

(Normal `Buffer`s do that implicitly.)

- For in-order queues, a simple solution would be holding a reference to the queue that was last used to operate on the SVM, and using that to `enqueue_release` when it goes out of scope.
- For out-of-order queues, we could hold on to a bounded number of events, waiting on the ones that get booted out.
- Should this be mandatory or optional behavior?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.