Skip to content

Commit

Permalink
Correction related to code review
Browse files Browse the repository at this point in the history
  • Loading branch information
shajder committed Jul 4, 2024
1 parent c5d3425 commit 1dbe7ea
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,7 @@ struct GetInfoInvalidValue : public SemaphoreTestBase
test_error(err, "Could not query semaphore");

// make sure that first test provides too small param size
if (size != sizeof(sema_props)
&& size <= sizeof(cl_semaphore_properties_khr))
if (size != sizeof(sema_props))
test_fail("Error: expected size %d, returned %d",
sizeof(sema_props), size);

Expand Down

0 comments on commit 1dbe7ea

Please sign in to comment.