mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-22 15:19:02 +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
@@ -106,7 +106,6 @@ test_sign(cl_device_id device, cl_context context, cl_command_queue queue, int n
|
||||
cl_float *input_ptr[1], *output_ptr, *p;
|
||||
cl_program program[kTotalVecCount];
|
||||
cl_kernel kernel[kTotalVecCount];
|
||||
void *values[2];
|
||||
size_t threads[1];
|
||||
int num_elements;
|
||||
int err;
|
||||
@@ -168,8 +167,6 @@ test_sign(cl_device_id device, cl_context context, cl_command_queue queue, int n
|
||||
if (err)
|
||||
return -1;
|
||||
|
||||
values[0] = streams[0];
|
||||
values[1] = streams[1];
|
||||
for (i=0; i<kTotalVecCount; i++)
|
||||
{
|
||||
err = clSetKernelArg(kernel[i], 0, sizeof streams[0], &streams[0] );
|
||||
@@ -321,7 +318,6 @@ test_sign_double(cl_device_id device, cl_context context, cl_command_queue queue
|
||||
cl_double *input_ptr[1], *output_ptr, *p;
|
||||
cl_program program[kTotalVecCount];
|
||||
cl_kernel kernel[kTotalVecCount];
|
||||
void *values[2];
|
||||
size_t threads[1];
|
||||
int num_elements;
|
||||
int err;
|
||||
@@ -382,8 +378,6 @@ test_sign_double(cl_device_id device, cl_context context, cl_command_queue queue
|
||||
if (err)
|
||||
return -1;
|
||||
|
||||
values[0] = streams[0];
|
||||
values[1] = streams[1];
|
||||
for (i=0; i<kTotalVecCount; i++)
|
||||
{
|
||||
err = clSetKernelArg(kernel[i], 0, sizeof streams[0], &streams[0] );
|
||||
|
||||
Reference in New Issue
Block a user