From a4acc80c2bf6e43febaf4bfe5e417d97d1fdee1f Mon Sep 17 00:00:00 2001 From: Pavan K Lanka <32373903+lpavank@users.noreply.github.com> Date: Mon, 16 Sep 2019 03:24:50 -0700 Subject: [PATCH] Fix for Khronos https://github.com/KhronosGroup/OpenCL-CTS/issues/27 remove the re-declaration of totalErrors (#445) --- test_conformance/images/kernel_read_write/test_write_1D.cpp | 1 - .../images/kernel_read_write/test_write_1D_array.cpp | 1 - .../images/kernel_read_write/test_write_2D_array.cpp | 1 - test_conformance/images/kernel_read_write/test_write_3D.cpp | 1 - test_conformance/images/kernel_read_write/test_write_image.cpp | 1 - 5 files changed, 5 deletions(-) diff --git a/test_conformance/images/kernel_read_write/test_write_1D.cpp b/test_conformance/images/kernel_read_write/test_write_1D.cpp index 420c4999..46548069 100644 --- a/test_conformance/images/kernel_read_write/test_write_1D.cpp +++ b/test_conformance/images/kernel_read_write/test_write_1D.cpp @@ -72,7 +72,6 @@ int test_write_image_1D( cl_device_id device, cl_context context, cl_command_que int error; size_t threads[2]; bool verifyRounding = false; - int totalErrors = 0; int forceCorrectlyRoundedWrites = 0; #if defined( __APPLE__ ) diff --git a/test_conformance/images/kernel_read_write/test_write_1D_array.cpp b/test_conformance/images/kernel_read_write/test_write_1D_array.cpp index 3e04c229..04a9b60f 100644 --- a/test_conformance/images/kernel_read_write/test_write_1D_array.cpp +++ b/test_conformance/images/kernel_read_write/test_write_1D_array.cpp @@ -81,7 +81,6 @@ int test_write_image_1D_array( cl_device_id device, cl_context context, cl_comma int error; size_t threads[2]; bool verifyRounding = false; - int totalErrors = 0; int forceCorrectlyRoundedWrites = 0; #if defined( __APPLE__ ) diff --git a/test_conformance/images/kernel_read_write/test_write_2D_array.cpp b/test_conformance/images/kernel_read_write/test_write_2D_array.cpp index c38a35e6..700314b8 100644 --- a/test_conformance/images/kernel_read_write/test_write_2D_array.cpp +++ b/test_conformance/images/kernel_read_write/test_write_2D_array.cpp @@ -108,7 +108,6 @@ int test_write_image_2D_array( cl_device_id device, cl_context context, cl_comma int error; size_t threads[3]; bool verifyRounding = false; - int totalErrors = 0; int forceCorrectlyRoundedWrites = 0; #if defined( __APPLE__ ) diff --git a/test_conformance/images/kernel_read_write/test_write_3D.cpp b/test_conformance/images/kernel_read_write/test_write_3D.cpp index 357070f5..f1f5bd89 100644 --- a/test_conformance/images/kernel_read_write/test_write_3D.cpp +++ b/test_conformance/images/kernel_read_write/test_write_3D.cpp @@ -111,7 +111,6 @@ int test_write_image_3D( cl_device_id device, cl_context context, cl_command_que int error; size_t threads[3]; bool verifyRounding = false; - int totalErrors = 0; int forceCorrectlyRoundedWrites = 0; #if defined( __APPLE__ ) diff --git a/test_conformance/images/kernel_read_write/test_write_image.cpp b/test_conformance/images/kernel_read_write/test_write_image.cpp index ec465ec8..cd689661 100644 --- a/test_conformance/images/kernel_read_write/test_write_image.cpp +++ b/test_conformance/images/kernel_read_write/test_write_image.cpp @@ -88,7 +88,6 @@ int test_write_image( cl_device_id device, cl_context context, cl_command_queue int error; size_t threads[2]; bool verifyRounding = false; - int totalErrors = 0; int forceCorrectlyRoundedWrites = 0; #if defined( __APPLE__ )