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

How to destroy a CLWBuffer object? #194

Open
manhnt9 opened this issue Oct 24, 2018 · 2 comments
Open

How to destroy a CLWBuffer object? #194

manhnt9 opened this issue Oct 24, 2018 · 2 comments

Comments

@manhnt9
Copy link

manhnt9 commented Oct 24, 2018

I only see Create functions of this class. How can I destroy a CLWBuffer?

@devshgraphicsprogramming

It would seem normal call to DeleteBuffer will work

ASSERT_NO_THROW(api_->DeleteBuffer(apibuffer));

@manhnt9
Copy link
Author

manhnt9 commented Oct 31, 2018

So I have to create a RadeonRays::Buffer from CLWBuffer to delete it with that API then 😄

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

2 participants