Skip to content

UT for commandNDRangeKernel#22

Open
kamil-goras-mobica wants to merge 3 commits intomainfrom
ut_CommandNDRangeKernel
Open

UT for commandNDRangeKernel#22
kamil-goras-mobica wants to merge 3 commits intomainfrom
ut_CommandNDRangeKernel

Conversation

@kamil-goras-mobica
Copy link
Collaborator

No description provided.

@kamil-goras-mobica kamil-goras-mobica changed the title UT commandNDRangeKernel UT for commandNDRangeKernel Oct 12, 2023
Comment on lines 3654 to 3656
cl::Kernel kernel;
cl::NDRange offset;
cl::NDRange global;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Preference to use real data eg. kernel from kernelPool.

cl::NDRange global;
cl::NDRange local = cl::NullRange;
std::vector<cl_sync_point_khr> sync_points_vec{ 3,2,1 };
cl_sync_point_khr sync_point{ 2 };
Copy link
Collaborator

Choose a reason for hiding this comment

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

At least one call could verify returned sync_point

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 added correction

@@ -3652,8 +3661,8 @@ void testCommandNDRangeKernel(void)
#if defined(cl_khr_command_buffer)
cl::vector<cl_ndrange_kernel_command_properties_khr> properties{ 0,1,2 };
cl::Kernel kernel;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Preference to remove unused variable

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.

LGTM

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