-
Notifications
You must be signed in to change notification settings - Fork 0
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 commandNDRangeKernel #22
base: main
Are you sure you want to change the base?
Conversation
tests/test_openclhpp.cpp
Outdated
cl::Kernel kernel; | ||
cl::NDRange offset; | ||
cl::NDRange global; |
There was a problem hiding this comment.
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 }; |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@shajder added correction
fce9f80
to
d01722b
Compare
tests/test_openclhpp.cpp
Outdated
@@ -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; |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
No description provided.