Skip to content

Commit

Permalink
Correction for extected macro argument
Browse files Browse the repository at this point in the history
  • Loading branch information
shajder committed Apr 9, 2024
1 parent 5cba00c commit 5f0cb00
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions test_conformance/extensions/cl_khr_semaphore/test_semaphores.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -673,14 +673,8 @@ int test_semaphores_queries(cl_device_id deviceID, cl_context context,

// Confirm that querying CL_SEMAPHORE_PROPERTIES_KHR returns the same
// properties the semaphore was created with
size_t size;
err = clGetSemaphoreInfoKHR(sema, CL_SEMAPHORE_PROPERTIES_KHR, 0, nullptr,
&size);
test_error(err, "Unable to get CL_SEMAPHORE_PROPERTIES_KHR from semaphore");

SEMAPHORE_PARAM_TEST_ARRAY(
CL_SEMAPHORE_PROPERTIES_KHR, cl_semaphore_properties_khr,
size / sizeof(cl_semaphore_properties_khr), sema_props);
SEMAPHORE_PARAM_TEST_ARRAY(CL_SEMAPHORE_PROPERTIES_KHR,
cl_semaphore_properties_khr, 5, sema_props);

// Confirm that querying CL_SEMAPHORE_PAYLOAD_KHR returns the unsignaled
// state
Expand Down

0 comments on commit 5f0cb00

Please sign in to comment.