Skip to content

Commit

Permalink
Fix build errors related with variable defined array length and gl te…
Browse files Browse the repository at this point in the history
…sts logged error
  • Loading branch information
jujiang-del committed Jun 25, 2024
1 parent ed4272f commit 24ce8fb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions test_conformance/gl/test_buffers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,11 @@ int test_buffer_kernel(cl_context context, cl_command_queue queue,

/* Generate some almost-random input data */
gen_input_data(vecType, vecSize * numElements, d, inData.data());
<<<<<<< HEAD
std::fill(outDataCL.begin(), outDataCL.end(), 0);
std::fill(outDataGL.begin(), outDataGL.end(), 0);
=======
>>>>>>> 8f9f8e0 (Fix build errors related with variable defined array length and gl tests logged error)

/* Generate some GL buffers to go against */
glGenBuffers(1, &inGLBuffer);
Expand Down
1 change: 0 additions & 1 deletion test_conformance/relationals/test_shuffles.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,6 @@ int test_shuffle_dual_kernel(cl_context context, cl_command_queue queue,
std::vector<cl_long> inSecondData(inVecSize * numOrders);
std::vector<cl_long> outData(outRealVecSize * numOrders);

outData.clear();
generate_random_data(vecType, (unsigned int)(numOrders * inVecSize), d,
inData.data());
if( shuffleMode == kBuiltInDualInputFnMode )
Expand Down

0 comments on commit 24ce8fb

Please sign in to comment.