From 1dbe7eab368b2734410bd9dbf7cb3061d3c14a9b Mon Sep 17 00:00:00 2001 From: Marcin Hajder Date: Thu, 4 Jul 2024 20:06:41 +0200 Subject: [PATCH] Correction related to code review --- .../cl_khr_semaphore/test_semaphores_negative_getinfo.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test_conformance/extensions/cl_khr_semaphore/test_semaphores_negative_getinfo.cpp b/test_conformance/extensions/cl_khr_semaphore/test_semaphores_negative_getinfo.cpp index f40c9ccffa..0cf8bb0faf 100644 --- a/test_conformance/extensions/cl_khr_semaphore/test_semaphores_negative_getinfo.cpp +++ b/test_conformance/extensions/cl_khr_semaphore/test_semaphores_negative_getinfo.cpp @@ -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);