Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SVM deallocation should wait for completion of operations on them #449

Open
inducer opened this issue Mar 19, 2021 · 1 comment
Open

SVM deallocation should wait for completion of operations on them #449

inducer opened this issue Mar 19, 2021 · 1 comment

Comments

@inducer
Copy link
Owner

inducer commented Mar 19, 2021

(Normal Buffers 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?
@inducer
Copy link
Owner Author

inducer commented Mar 19, 2021

#447 is a very similar problem that can probably reuse the solution for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant