OpenCL-CTS
OpenCL-CTS copied to clipboard
Extend test coverage for `clClonekernel`
Add the following test coverage for the clCloneKernel
With args:
Use clSetKernelArg to set args after kernel is cloned. Enqueue and
read the buffer to validate.
With Execinfo:
Use clSetKernelExecInfo after the kernel is cloned and read the buffer
to validate.
With no args: Clone a kernel with no args and enqueue.
With SVM pointer:
Use clSetKernelArgSVMPointer to set args after kernel is cloned.
Enqueue and read the buffer to validate.
This fixes #1098 and #1234
This PR also replaces test_error with test_assert_error to report the error during failure.
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.
I'm seeing
fatal: unable to access 'https://github.com/KhronosGroup/libclcxx.git/': Could not resolve host: github.com
Command exited with code 128
How can we restart this?
@gwawiork, please review.
I'm seeing
fatal: unable to access 'https://github.com/KhronosGroup/libclcxx.git/': Could not resolve host: github.com Command exited with code 128How can we restart this?
I had the same issue on another PR. I ended up re-pushing (on the same branch) to retrigger another run. Hopefully there's a more clever alternative with a simple button to press somewhere, but I couldn't find it.
Forced pushed to rebase.
Forced pushed again, CI was stuck
Hi @jainvikas8
I've check your changes on Windows on Intel GPU and I am getting
ERROR: clFinish failed! (CL_OUT_OF_RESOURCES from C:\NewVPG\Repo\public-github\opensource-qb\OpenCL-CTS\test_conformance\api\test_clone_kernel.cpp:524) test_exec_enqueue_helper failed for cloneKernel_2 on retry. clCloneKernel test_cloned_kernel_exec_info failed. clone_kernel FAILED
The test process is not able to exit looks like hang. Could you double check on your side if everything is ok ? I will analyze the problem as well.
Forced pushed to rebase.
Hi @jainvikas8 I've check your changes on Windows on Intel GPU and I am getting
ERROR: clFinish failed! (CL_OUT_OF_RESOURCES from C:\NewVPG\Repo\public-github\opensource-qb\OpenCL-CTS\test_conformance\api\test_clone_kernel.cpp:524) test_exec_enqueue_helper failed for cloneKernel_2 on retry. clCloneKernel test_cloned_kernel_exec_info failed. clone_kernel FAILEDThe test process is not able to exit looks like hang. Could you double check on your side if everything is ok ? I will analyze the problem as well.
Have not observed this in the past, normally it should fail for this too.
test_exec_enqueue_helper failed for cloneKernel_1 on the retry
Will look into reproducing this issue. Thanks.
Forced pushed to rebase and add 2 new commits to address the review comments.
Hi @jainvikas8 I've check your changes on Windows on Intel GPU and I am getting
ERROR: clFinish failed! (CL_OUT_OF_RESOURCES from C:\NewVPG\Repo\public-github\opensource-qb\OpenCL-CTS\test_conformance\api\test_clone_kernel.cpp:524) test_exec_enqueue_helper failed for cloneKernel_2 on retry. clCloneKernel test_cloned_kernel_exec_info failed. clone_kernel FAILEDThe test process is not able to exit looks like hang. Could you double check on your side if everything is ok ? I will analyze the problem as well.Have not observed this in the past, normally it should fail for this too.
test_exec_enqueue_helper failed for cloneKernel_1 on the retryWill look into reproducing this issue. Thanks.
@gwawiork I've been unable to reproduce this issue on MALI-GPU in Linux with OpenCL 2.1 and 3.0. So, please let me know your thoughts on this?
@jainvikas8 Please take a look at my review when you have the time.
[Qualcomm] We tested this and it passed on our 3.0 implementation. Will need more time for a detailed review.
Removing "focused review" until this PR has an updated owner.
@kpet Rebased and CI checks are passing. @bashbaug Addressed outstanding review comments.