Home
last modified time | relevance | path

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

/external/OpenCL-CTS/test_conformance/buffers/
Dtest_sub_buffers.cpp223 size_t find_subbuffer_by_index( SubBufferWrapper * subBuffers, size_t numSubBuffers, size_t index ) in find_subbuffer_by_index() argument
225 for ( size_t i = 0; i < numSubBuffers; i++ ) in find_subbuffer_by_index()
228 return numSubBuffers; in find_subbuffer_by_index()
232 return numSubBuffers; in find_subbuffer_by_index()
241 size_t numSubBuffers; in test_sub_buffers_read_write_core() local
261 for ( numSubBuffers = 0; numSubBuffers < 8; numSubBuffers++ ) in test_sub_buffers_read_write_core()
269 error = subBuffers[ numSubBuffers ].Allocate( mainBuffer, CL_MEM_READ_WRITE, offset, size ); in test_sub_buffers_read_write_core()
296 int whichBufferA = random_in_range( 0, (int)numSubBuffers - 1, Action::GetRandSeed() ); in test_sub_buffers_read_write_core()
300 whichBufferB = random_in_range( 0, (int)numSubBuffers - 1, Action::GetRandSeed() ); in test_sub_buffers_read_write_core()
342 … size_t sbThatFailed = find_subbuffer_by_index( subBuffers, numSubBuffers, i + j ); in test_sub_buffers_read_write_core()
[all …]