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 cl_mem_flags to not affect copies #1230

Merged
merged 1 commit into from
Oct 29, 2024

Conversation

bashbaug
Copy link
Contributor

Fixes #770

Clarifies that the cl_mem_flags for the source and destination memory objects for copies are ignored, for both commands enqueued into a command-queue and commands recorded into a command-buffer.

Copy link
Contributor

@lakshmih lakshmih left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@kpet kpet left a comment

Choose a reason for hiding this comment

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

I note that the information is presented as a note for all command buffer commands but not for enqueue commands (which is in line with the existing spec text for enqueue commands). Fine with the change as is but I'm wondering whether we want to align them all.

@bashbaug
Copy link
Contributor Author

Merging as discussed in the October 29th teleconference.

@bashbaug bashbaug merged commit 97adb9a into KhronosGroup:main Oct 29, 2024
2 checks passed
@bashbaug bashbaug deleted the mem-flags-for-copies branch October 29, 2024 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

how do cl_mem_flags affect fills and copies
3 participants