mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
[NFC] commonfns: Remove unused values arrays (#1595)
The arrays were assigned to, but the values were never used again. Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com> Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
This commit is contained in:
committed by
GitHub
parent
884c736525
commit
59a1198e5f
@@ -94,7 +94,6 @@ test_fmaxf(cl_device_id device, cl_context context, cl_command_queue queue, int
|
||||
cl_float *input_ptr[2], *output_ptr, *p;
|
||||
cl_program *program;
|
||||
cl_kernel *kernel;
|
||||
void *values[3];
|
||||
size_t threads[1];
|
||||
int num_elements;
|
||||
int err;
|
||||
@@ -180,9 +179,6 @@ test_fmaxf(cl_device_id device, cl_context context, cl_command_queue queue, int
|
||||
if (err)
|
||||
return -1;
|
||||
|
||||
values[0] = streams[0];
|
||||
values[1] = streams[1];
|
||||
values[2] = streams[2];
|
||||
for (i=0; i < kTotalVecCount; i++)
|
||||
{
|
||||
err = clSetKernelArg(kernel[i], 0, sizeof streams[0], &streams[0] );
|
||||
|
||||
Reference in New Issue
Block a user