Home
last modified time | relevance | path

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

/external/OpenCL-CTS/test_conformance/buffers/
Dtest_sub_buffers.cpp237 …ntext context, cl_command_queue queueA, cl_command_queue queueB, size_t mainSize, size_t addressAl… in test_sub_buffers_read_write_core() argument
247 cl_char * mainBufferContents = (cl_char*)calloc(1,mainSize); in test_sub_buffers_read_write_core()
248 cl_char * actualResults = (cl_char*)calloc(1,mainSize); in test_sub_buffers_read_write_core()
250 for ( i = 0; i < mainSize / 4; i++ ) in test_sub_buffers_read_write_core()
256 …mainBuffer = clCreateBuffer( context, CL_MEM_READ_WRITE | CL_MEM_COPY_HOST_PTR, mainSize, mainBuff… in test_sub_buffers_read_write_core()
263 size_t endRange = toStartFrom + ( mainSize / 4 ); in test_sub_buffers_read_write_core()
264 if ( endRange > mainSize ) in test_sub_buffers_read_write_core()
265 endRange = mainSize; in test_sub_buffers_read_write_core()
268 …size_t size = get_random_size_t( 1, ( MIN( mainSize / 8, mainSize - offset ) ) / addressAlign, Act… in test_sub_buffers_read_write_core()
273 if ( toStartFrom > ( mainSize - ( addressAlign * 256 ) ) ) in test_sub_buffers_read_write_core()
[all …]