Home
last modified time | relevance | path

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

/external/OpenCL-CTS/test_conformance/thread_dimensions/
Dtest_thread_dimensions.cpp421 cl_uint memory_size, max_memory_size; in test_thread_dimensions() local
496 max_memory_size = (cl_uint)(max_allocation); in test_thread_dimensions()
497 if (max_memory_size > 512*1024*1024) in test_thread_dimensions()
498 max_memory_size = 512*1024*1024; in test_thread_dimensions()
499 memory_size = max_memory_size; in test_thread_dimensions()
501 …log_info("Memory allocation size to use is %gMB, max workgroup size is %d.\n", max_memory_size/(10… in test_thread_dimensions()
503 while (!found_size && memory_size >= max_memory_size/8) { in test_thread_dimensions()
507 memory_size -= max_memory_size/16; in test_thread_dimensions()
522 if (memory_size < max_memory_size) { in test_thread_dimensions()
523 …log_info("Note: failed to allocate %gMB, using %gMB instead.\n", max_memory_size/(1024.0*1024.0), … in test_thread_dimensions()
/external/llvm-project/lldb/source/Plugins/Process/gdb-remote/
DProcessGDBRemote.cpp2694 size_t max_memory_size = in DoReadMemory() local
2696 if (size > max_memory_size) { in DoReadMemory()
2700 size = max_memory_size; in DoReadMemory()
2890 size_t max_memory_size = m_max_memory_size / 2; in DoWriteMemory() local
2891 if (size > max_memory_size) { in DoWriteMemory()
2895 size = max_memory_size; in DoWriteMemory()