From 83b129c0f41c56dd469e5c3997f90c6e7f34c054 Mon Sep 17 00:00:00 2001 From: Marcin Hajder Date: Mon, 17 Jun 2024 08:04:37 +0200 Subject: [PATCH] Correction related to code review --- .../cl_khr_semaphore/test_semaphores_negative_create.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_conformance/extensions/cl_khr_semaphore/test_semaphores_negative_create.cpp b/test_conformance/extensions/cl_khr_semaphore/test_semaphores_negative_create.cpp index b95bc40b8..30daf6c33 100644 --- a/test_conformance/extensions/cl_khr_semaphore/test_semaphores_negative_create.cpp +++ b/test_conformance/extensions/cl_khr_semaphore/test_semaphores_negative_create.cpp @@ -590,7 +590,7 @@ struct CreateInvalidOperation : public SemaphoreTestBase semaphore_second = clCreateSemaphoreWithPropertiesKHR(context, sema_2_props, &err); test_failure_error( - err, CL_INVALID_DEVICE, + err, CL_INVALID_OPERATION, "Unexpected clCreateSemaphoreWithPropertiesKHR return"); return CL_SUCCESS;