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

A few missing cl_khr_semaphore tests

Open kpet opened this issue 1 year ago • 2 comments

  • [ ] CL_DEVICE_HANDLE_LIST_KHR as a query using clGetSemaphoreInfoKHR
  • [ ] CL_DEVICE_HANDLE_LIST_KHR as a property passed to clCreateSemaphoreWithPropertiesKHR
  • [ ] Negative tests for the API error codes of
    • [ ] clCreateSemaphoreWithPropertiesKHR
    • [ ] clEnqueueWaitSemaphoresKHR
    • [ ] clEnqueueSignalSemaphoresKHR
    • [ ] clGetSemaphoreInfoKHR
    • [ ] clReleaseSemaphoreKHR
    • [ ] clRetainSemaphoreKHR

Note that CL_DEVICE_HANDLE_LIST_KHR may be renamed depending on what https://github.com/KhronosGroup/OpenCL-Docs/issues/864 concludes.

kpet avatar Mar 31 '23 13:03 kpet

  • [ ] CL_DEVICE_HANDLE_LIST_KHR as a query using clGetSemaphoreInfoKHR test_external_semaphores_queries has a test for CL_SEMAPHORE_DEVICE_HANDLE_LIST
  • [ ] CL_DEVICE_HANDLE_LIST_KHR as a property passed to clCreateSemaphoreWithPropertiesKHR opencl_vulkan_wrapper.cpp uses this, but not as independent test
  • [ ] Negative tests for the API error codes of

    • [ ] clCreateSemaphoreWithPropertiesKHR
    • [ ] clEnqueueWaitSemaphoresKHR
    • [ ] clEnqueueSignalSemaphoresKHR
    • [ ] clGetSemaphoreInfoKHR
    • [ ] clReleaseSemaphoreKHR
    • [ ] clRetainSemaphoreKHR

test_vulkan_api_consistency.cpp tests some negative conditions. It may not be comprehensive.

Note that CL_DEVICE_HANDLE_LIST_KHR may be renamed depending on what KhronosGroup/OpenCL-Docs#864 concludes.

joshqti avatar Dec 12 '23 17:12 joshqti

Have filed https://github.com/KhronosGroup/OpenCL-CTS/issues/1875 for CL_DEVICE_HANDLE_LIST_KHR coverage.

nikhiljnv avatar Jan 16 '24 12:01 nikhiljnv