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

UT for commandCopyBuffer, commandCopyBufferRect, commandBarrierWithWa… #18

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

kamil-goras-mobica
Copy link
Collaborator

UTs for
commandCopyBuffer
commandCopyBufferRect
commandBarrierWithWaitList

Comment on lines 3623 to 3624
std::vector<cl_sync_point_khr> sync_points_vec { 0, 1, 2 };

Copy link
Collaborator

Choose a reason for hiding this comment

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

Good to see vector of sync points to hold execution of this call as long as other commands of out-of-order command buffer will be completed! Still we could do a bit better and get a sync point for at lease one call (fifth parameter) and verify if is as expected after actual call.

The same comment applies for below test testCommandCopyBufferRectKHR. Except this two corrections PR LGTM

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@shajder Correction added

Copy link
Collaborator

@shajder shajder left a comment

Choose a reason for hiding this comment

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

Looks Good To Me

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.

2 participants