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

clarify clEnqueueReleaseExternalMemObjectsKHR #1332

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bashbaug
Copy link
Contributor

@bashbaug bashbaug commented Mar 4, 2025

partial fix for #1308

This changes the text in the description of clEnqueueReleaseExternalMemObjectsKHR from "in the other API" to "outside of OpenCL".

Comment on lines +5878 to +5879
{clEnqueueReleaseExternalMemObjectsKHR} before using them through any commands
outside of OpenCL.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Possible additional improvements:

  1. Disambiguate "them", because the memory objects do not have any meaning outside of OpenCL. Should this be referring to the external memory handles used to create the memory objects instead? Should it be the memory that those handles represent?
  2. Disambiguate "any commands". Should this be "functions" instead? What is the right term?

@bashbaug
Copy link
Contributor Author

bashbaug commented Mar 4, 2025

Converting to a draft while we determine how to make additional improvements.

@bashbaug bashbaug marked this pull request as draft March 4, 2025 18:25
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

Successfully merging this pull request may close these issues.

1 participant