OpenCL-CTS icon indicating copy to clipboard operation
OpenCL-CTS copied to clipboard

Test coverage for CL_SEMAPHORE_HANDLE_LIST_KHR as part of cl_khr_semaphore tests

Open nikhiljnv opened this issue 1 year ago • 1 comments

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 -

  1. Semaphores are created with CL_SEMAPHORE_HANDLE_LIST_KHR property passed.
  2. The value of property containing 0, 1 and more than one devices to ensure appropriate behavior for clCreateSemaphoreWithPropertiesKHR
  3. CL_SEMAPHORE_HANDLE_LIST_KHR queried as part of clGetSemaphoreInfoKHR to ensure appropriate device list is returned.

nikhiljnv avatar Jan 15 '24 13:01 nikhiljnv

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 without CL_SEMAPHORE_HANDLE_LIST_KHR. The device returned should be the one that the context was created from.
  • No coverage of multi-device contexts.

kpet avatar Jun 04 '24 17:06 kpet