Added new cl_khr_semaphore tests to verify clReleaseSemaphoreKHR/clRetainSemaphoreKHR negative results (#1976)

According to work plan from issue #1691

Co-authored-by: Ben Ashbaugh <ben.ashbaugh@intel.com>
This commit is contained in:
Marcin Hajder
2024-07-16 17:08:28 +02:00
committed by GitHub
parent 881560a0fe
commit 7b0f4ee861
4 changed files with 100 additions and 0 deletions

View File

@@ -71,3 +71,11 @@ extern int test_semaphores_negative_wait_invalid_event_wait_list(
extern int test_semaphores_negative_wait_invalid_event_status(
cl_device_id device, cl_context context, cl_command_queue queue,
int num_elements);
extern int test_semaphores_negative_release(cl_device_id device,
cl_context context,
cl_command_queue queue,
int num_elements);
extern int test_semaphores_negative_retain(cl_device_id device,
cl_context context,
cl_command_queue queue,
int num_elements);