Skip to content

UT for commandCopyBuffer, commandCopyBufferRect, commandBarrierWithWa…#18

Open
kamil-goras-mobica wants to merge 2 commits intomainfrom
uts_for_command_buffer
Open

UT for commandCopyBuffer, commandCopyBufferRect, commandBarrierWithWa…#18
kamil-goras-mobica wants to merge 2 commits intomainfrom
uts_for_command_buffer

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