Remove unused code in kernel_image_methods (#1048)

These declarations either aren't used or aren't needed, as testBase.h
already declares them.

Signed-off-by: Radek Szymanski <radek.szymanski@arm.com>
This commit is contained in:
Radek Szymanski
2020-11-20 15:06:32 +01:00
committed by GitHub
parent f22e3a31d0
commit bf3d3fef75
7 changed files with 6 additions and 39 deletions

View File

@@ -13,23 +13,16 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//
#include "../harness/compat.h"
#include "../harness/parseParameters.h"
#include <stdio.h>
#include <string.h>
#if !defined(_WIN32)
#include <unistd.h>
#include <sys/time.h>
#endif
#include "../testBase.h"
#include "../harness/compat.h"
#include "../harness/parseParameters.h"
bool gDebugTrace;
bool gTestSmallImages;
bool gTestMaxImages;
int gTypesToTest;
bool gDeviceLt20 = false;
cl_channel_type gChannelTypeToUse = (cl_channel_type)-1;
@@ -39,8 +32,6 @@ extern int test_image_set( cl_device_id device, cl_context context, cl_command_q
static void printUsage( const char *execName );
#define MAX_ALLOWED_STD_DEVIATION_IN_MB 8.0
int test_1D(cl_device_id device, cl_context context, cl_command_queue queue, int num_elements)
{
return test_image_set( device, context, queue, CL_MEM_OBJECT_IMAGE1D );