From 7da0d7a7784ab6a7298f73dc8311bebe7e66bb76 Mon Sep 17 00:00:00 2001 From: Jim Lewis Date: Mon, 16 Sep 2019 05:24:33 -0500 Subject: [PATCH] Fix for Khronos https://github.com/KhronosGroup/OpenCL-CTS/issues/27 remove the re-declaration of totalErrors (#457) --- 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 f3af8b49..60a50983 100644 --- a/test_conformance/images/kernel_read_write/test_write_1D.cpp +++ b/test_conformance/images/kernel_read_write/test_write_1D.cpp @@ -48,7 +48,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 a1b83c3a..7b6bac5a 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 @@ -50,7 +50,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 f61160ad..42580481 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 @@ -72,7 +72,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 66f2b9f2..07deddd9 100644 --- a/test_conformance/images/kernel_read_write/test_write_3D.cpp +++ b/test_conformance/images/kernel_read_write/test_write_3D.cpp @@ -69,7 +69,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 90afdbb1..d66a1774 100644 --- a/test_conformance/images/kernel_read_write/test_write_image.cpp +++ b/test_conformance/images/kernel_read_write/test_write_image.cpp @@ -53,7 +53,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__ )