Home
last modified time | relevance | path

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

/external/OpenCL-CTS/test_conformance/allocations/
Dmain.cpp110 size_t current_test_size; in doTest() local
173 current_test_size = g_max_size; in doTest()
177 while( ( error == FAILED_TOO_BIG ) && ( current_test_size > g_max_size / 8 ) ) in doTest()
183 …or = allocate_size( context, &queue, device, g_multiple_allocations, current_test_size, alloc_type, in doTest()
215 current_test_size -= g_max_size / 16; in doTest()
216 … log_info( "\tFailed at this size; trying a smaller size of %gMB.\n", toMB( current_test_size ) ); in doTest()
220 if( error == SUCCEEDED && current_test_size == g_max_size ) in doTest()
224 else if( error == SUCCEEDED && current_test_size > g_max_size / 8 ) in doTest()