Home
last modified time | relevance | path

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

/external/OpenCL-CTS/test_conformance/basic/
Dtest_async_copy2D.cpp132 cl_long max_alloc_size; in test_copy2D() local
134 sizeof(max_alloc_size), &max_alloc_size, NULL); in test_copy2D()
138 if (max_alloc_size > max_global_mem_size / 2) in test_copy2D()
139 max_alloc_size = max_global_mem_size / 2; in test_copy2D()
202 size_t maxTotalLinesIn = (max_alloc_size / elementSize + srcStride) in test_copy2D()
204 size_t maxTotalLinesOut = (max_alloc_size / elementSize + dstStride) in test_copy2D()
Dtest_async_copy3D.cpp153 cl_long max_alloc_size; in test_copy3D() local
155 sizeof(max_alloc_size), &max_alloc_size, NULL); in test_copy3D()
159 if (max_alloc_size > max_global_mem_size / 2) in test_copy3D()
160 max_alloc_size = max_global_mem_size / 2; in test_copy3D()
227 size_t maxTotalPlanesIn = ((max_alloc_size / elementSize) + srcPlaneStride) in test_copy3D()
230 size_t maxTotalPlanesOut = ((max_alloc_size / elementSize) + dstPlaneStride) in test_copy3D()
/external/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_winsys.c374 ws->info.max_alloc_size = ws->info.vram_size * 0.7; in do_winsys_init()
376 ws->info.max_alloc_size = ws->info.gart_size * 0.7; in do_winsys_init()
379 ws->info.max_alloc_size = MIN2(ws->info.max_alloc_size, 256*1024*1024); in do_winsys_init()
381 ws->info.max_alloc_size = MIN2(ws->info.max_alloc_size, 3ull*1024*1024*1024); in do_winsys_init()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_test_dma.c179 uint64_t max_alloc_size; in r600_test_dma() local
186 max_alloc_size = 128 * 1024 * 1024; in r600_test_dma()
258 max_alloc_size) { in r600_test_dma()
Dr600_pipe_common.c1019 *max_mem_alloc_size = rscreen->info.max_alloc_size; in r600_get_compute_param()
1322 (int)DIV_ROUND_UP(rscreen->info.max_alloc_size, 1024*1024)); in r600_common_screen_init()
Dr600_pipe.c351 return MIN2(rscreen->b.info.max_alloc_size, INT_MAX); in r600_get_param()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_test_dma.c174 uint64_t max_alloc_size; in si_test_dma() local
181 max_alloc_size = 128 * 1024 * 1024; in si_test_dma()
257 max_alloc_size) { in si_test_dma()
Dsi_get.c220 return ROUND_DOWN_TO(MIN2(sscreen->info.max_alloc_size, INT_MAX), 256); in si_get_param()
222 return sscreen->info.max_alloc_size / (1024 * 1024); in si_get_param()
790 *max_mem_alloc_size = sscreen->info.max_alloc_size; in si_get_compute_param()
/external/mesa3d/src/amd/common/
Dac_gpu_info.h96 uint64_t max_alloc_size; member
Dac_gpu_info.c482 info->max_alloc_size = info->vram_size * 0.8; in ac_query_gpu_info()
484 info->max_alloc_size = info->gart_size * 0.7; in ac_query_gpu_info()
908 fprintf(f, " max_alloc_size = %i MB\n", (int)DIV_ROUND_UP(info->max_alloc_size, 1024 * 1024)); in ac_print_gpu_info()
/external/mesa3d/docs/relnotes/
D17.0.1.rst170 - winsys/amdgpu: reduce max_alloc_size based on GTT limits
D13.0.6.rst233 - winsys/amdgpu: reduce max_alloc_size based on GTT limits