Home
last modified time | relevance | path

Searched refs:mainBufferContents (Results 1 – 1 of 1) sorted by relevance

/external/OpenCL-CTS/test_conformance/buffers/
Dtest_sub_buffers.cpp247 cl_char * mainBufferContents = (cl_char*)calloc(1,mainSize); in test_sub_buffers_read_write_core() local
251 ((cl_uint*) mainBufferContents)[i] = genrand_int32(m); in test_sub_buffers_read_write_core()
256 …eBuffer( context, CL_MEM_READ_WRITE | CL_MEM_COPY_HOST_PTR, mainSize, mainBufferContents, &error ); in test_sub_buffers_read_write_core()
311 …xt, queue, (cl_int)i, subBuffers[ whichBufferA ], subBuffers[ whichBufferB ], mainBufferContents ); in test_sub_buffers_read_write_core()
332 if ( memcmp( actualResults + i, mainBufferContents + i, left ) == 0 ) in test_sub_buffers_read_write_core()
339 if ( actualResults[ i + j ] != mainBufferContents[ i + j ] ) in test_sub_buffers_read_write_core()
364 free(mainBufferContents); in test_sub_buffers_read_write_core()