Home
last modified time | relevance | path

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

/external/OpenCL-CTS/test_conformance/allocations/
Dmain.cpp33 static size_t g_max_size; variable
154g_max_size = g_multiple_allocations ? (size_t)global_mem_size : (size_t)max_individual_allocation_… in doTest()
160 g_max_size = (size_t)( (double)g_max_size * (double)g_reduction_percentage / 100.0 ); in doTest()
164 g_max_size &= (size_t)(0xFFFFFFFFFF00000ULL); in doTest()
166 …on size (rounded to nearest MB) is: %llu bytes (%gMB).\n", llu( g_max_size ), toMB( g_max_size ) ); in doTest()
167 … log_info( "** Allocating %s to size %gMB.\n", alloc_description[alloc_type], toMB( g_max_size ) ); in doTest()
171 current_test_size = g_max_size; in doTest()
175 while( ( error == FAILED_TOO_BIG ) && ( current_test_size > g_max_size / 8 ) ) in doTest()
193 if( final_size < (size_t)g_max_size / 8 ) in doTest()
213 current_test_size -= g_max_size / 16; in doTest()
[all …]