OpenCL-CTS
OpenCL-CTS copied to clipboard
Test coverage for CL_SEMAPHORE_HANDLE_LIST_KHR as part of cl_khr_semaphore tests
https://github.com/KhronosGroup/OpenCL-CTS/pull/1814 added minimal coverage for CL_MEM_HANDLE_LIST_KHR and CL_SEMAPHORE_HANDLE_LIST_KHR to external memory and external semaphore tests. We need to cover CL_SEMAPHORE_HANDLE_LIST_KHR as part of cl_khr_semaphore tests as well. In particular, we need -
- Semaphores are created with CL_SEMAPHORE_HANDLE_LIST_KHR property passed.
- The value of property containing 0, 1 and more than one devices to ensure appropriate behavior for clCreateSemaphoreWithPropertiesKHR
- CL_SEMAPHORE_HANDLE_LIST_KHR queried as part of clGetSemaphoreInfoKHR to ensure appropriate device list is returned.
2024/06/04 Teleconference. There are a few cases that #1942 did not cover:
- Perform the
CL_SEMAPHORE_HANDLE_LIST_KHR
query on a semaphore object created in a single-device context but withoutCL_SEMAPHORE_HANDLE_LIST_KHR
. The device returned should be the one that the context was created from. - No coverage of multi-device contexts.