Home
last modified time | relevance | path

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

/external/OpenCL-CTS/test_conformance/allocations/
Dallocation_functions.cpp138 int current_allocation; in allocate_size() local
163 current_allocation = 0; in allocate_size()
212 while (amount_allocated != size_to_allocate && current_allocation < max_to_allocate) { in allocate_size()
227 … = do_allocation(context, queue, device_id, allocation_this_time, type, &mems[current_allocation]); in allocate_size()
230 *number_of_mems = (current_allocation+1); in allocate_size()
233 actual_allocation = get_actual_allocation_size(mems[current_allocation]); in allocate_size()
246 …result = fill_mem_with_data(context, device_id, queue, mems[current_allocation], d, blocking_write… in allocate_size()
284 current_allocation++; in allocate_size()
287 …ceeded in allocating %gMB using %d memory objects.\n", toMB(amount_allocated), current_allocation); in allocate_size()
/external/libpng/
Dpngtest.c509 static int current_allocation = 0; variable
538 current_allocation += size; in png_debug_malloc()
542 if (current_allocation > maximum_allocation) in png_debug_malloc()
543 maximum_allocation = current_allocation; in png_debug_malloc()
553 current_allocation -= size; in png_debug_malloc()
599 current_allocation -= pinfo->size; in png_debug_free()
600 if (current_allocation < 0) in png_debug_free()
1943 int allocation_now = current_allocation; in main()
1980 if (allocation_now != current_allocation) in main()
1982 current_allocation - allocation_now); in main()
[all …]
/external/OpenCL-CTS/test_conformance/thread_dimensions/
Dtest_thread_dimensions.cpp68 cl_ulong current_allocation = 0; in get_maximums() local
86 …ceInfo(devices[i], CL_DEVICE_MAX_MEM_ALLOC_SIZE, sizeof(current_allocation), &current_allocation, … in get_maximums()
93 max_allocation = current_allocation; in get_maximums()
94 else if (current_allocation < max_allocation) in get_maximums()
95 max_allocation = current_allocation; in get_maximums()