-
Notifications
You must be signed in to change notification settings - Fork 199
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
Extend test coverage for clClonekernel
#1251
base: main
Are you sure you want to change the base?
Extend test coverage for clClonekernel
#1251
Commits on Jul 16, 2024
-
Add test coverage for
clCloneKernel
with argsUse `clSetKernelArg` to set args after kernel is cloned. Enqueue and read the buffer to validate. The test uses `buf_write_kernel` kernel program with 2 arguments. Signed-off-by: Vikas Katariya <vikas.katariya@arm.com>
Configuration menu - View commit details
-
Copy full SHA for 3d58b8b - Browse repository at this point
Copy the full SHA 3d58b8bView commit details -
Fix: Replace
test_error
withtest_assert_error
In test_clone_kernel, if `clEnqueueReadBuffer` was a success then the error code would be `CL_SUCCESS`, which will not print the error message when buffer validation fails, therefore replace with `test_assert_error` to print the error message. Signed-off-by: Vikas Katariya <vikas.katariya@arm.com>
Configuration menu - View commit details
-
Copy full SHA for e422edc - Browse repository at this point
Copy the full SHA e422edcView commit details -
Add test coverage for
clCloneKernel
with ExecinfoUse `clSetKernelExecInfo` after kernel is cloned and read the buffer to validate. The test uses the `set_kernel_exec_info_kernel` kernel program with 2 arguments. Signed-off-by: Vikas Katariya <vikas.katariya@arm.com>
Configuration menu - View commit details
-
Copy full SHA for 771b05a - Browse repository at this point
Copy the full SHA 771b05aView commit details -
Add test covergae for
clCloneKernel
with no argsClone a kernel with no args and enqueue. The test uses `test_kernel_empty` kernel program with no arguments. Signed-off-by: Vikas Katariya <vikas.katariya@arm.com>
Configuration menu - View commit details
-
Copy full SHA for 2bdcdf7 - Browse repository at this point
Copy the full SHA 2bdcdf7View commit details -
Add test coverge for
clCloneKernel
with SVM pointerUse `clSetKernelArgSVMPointer` to set args after kernel is cloned. Enqueue and read the buffer to validate. The test uses `buf_write_kernel` kernel program with 2 arguments. Signed-off-by: Vikas Katariya <vikas.katariya@arm.com>
Configuration menu - View commit details
-
Copy full SHA for 791ed1b - Browse repository at this point
Copy the full SHA 791ed1bView commit details -
fixup! Add test coverage for
clCloneKernel
with ExecinfoReview comments
Configuration menu - View commit details
-
Copy full SHA for 0c2fb2c - Browse repository at this point
Copy the full SHA 0c2fb2cView commit details -
fixup! Add test coverge for
clCloneKernel
with SVM pointerReview comments
Configuration menu - View commit details
-
Copy full SHA for 938be73 - Browse repository at this point
Copy the full SHA 938be73View commit details