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
171 current_test_size = g_max_size; in doTest()
175 while( ( error == FAILED_TOO_BIG ) && ( current_test_size > g_max_size / 8 ) ) in doTest()
181 …or = allocate_size( context, &queue, device, g_multiple_allocations, current_test_size, alloc_type, in doTest()
213 current_test_size -= g_max_size / 16; in doTest()
214 … log_info( "\tFailed at this size; trying a smaller size of %gMB.\n", toMB( current_test_size ) ); in doTest()
218 if( error == SUCCEEDED && current_test_size == g_max_size ) in doTest()
222 else if( error == SUCCEEDED && current_test_size > g_max_size / 8 ) in doTest()