Home
last modified time | relevance | path

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

/external/OpenCL-CTS/test_conformance/basic/
Dtest_bufferreadwriterect.cpp356 cl_ulong max_mem_alloc_size = 0; in test_bufferreadwriterect() local
357 …eviceInfo(device, CL_DEVICE_MAX_MEM_ALLOC_SIZE, sizeof(cl_ulong), &max_mem_alloc_size, NULL),"Coul… in test_bufferreadwriterect()
358 log_info("CL_DEVICE_MAX_MEM_ALLOC_SIZE = %llu bytes.\n", max_mem_alloc_size); in test_bufferreadwriterect()
361 if (max_mem_alloc_size == 0) { in test_bufferreadwriterect()
367 …size_t max_mem_alloc_dim = (size_t)cbrt((double)(max_mem_alloc_size/sizeof(BufferType)))/alloc_sca… in test_bufferreadwriterect()
369 max_mem_alloc_dim = max_mem_alloc_size; in test_bufferreadwriterect()
391 … max_tries) && (size_bytes = width[i]*height[i]*depth[i]*sizeof(BufferType)) > max_mem_alloc_size); in test_bufferreadwriterect()
396 max_mem_alloc_size, max_tries); in test_bufferreadwriterect()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_get.c754 uint64_t max_mem_alloc_size; in si_get_compute_param() local
757 &max_mem_alloc_size); in si_get_compute_param()
766 MIN2(4 * max_mem_alloc_size, MAX2(sscreen->info.gart_size, sscreen->info.vram_size)); in si_get_compute_param()
788 uint64_t *max_mem_alloc_size = ret; in si_get_compute_param() local
790 *max_mem_alloc_size = sscreen->info.max_alloc_size; in si_get_compute_param()
/external/mesa3d/src/gallium/frontends/clover/core/
Ddevice.hpp70 cl_ulong max_mem_alloc_size() const;
Ddevice.cpp183 device::max_mem_alloc_size() const { in max_mem_alloc_size() function in device
/external/mesa3d/src/gallium/frontends/clover/api/
Dmemory.cpp99 map(std::mem_fn(&device::max_mem_alloc_size), ctx.devices()) in clCreateBuffer()
445 map(std::mem_fn(&device::max_mem_alloc_size), ctx.devices()))) in clSVMAlloc()
Ddevice.cpp173 buf.as_scalar<cl_ulong>() = dev.max_mem_alloc_size(); in clGetDeviceInfo()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_pipe_common.c981 uint64_t max_mem_alloc_size; in r600_get_compute_param() local
985 &max_mem_alloc_size); in r600_get_compute_param()
993 *max_global_size = MIN2(4 * max_mem_alloc_size, in r600_get_compute_param()
1017 uint64_t *max_mem_alloc_size = ret; in r600_get_compute_param() local
1019 *max_mem_alloc_size = rscreen->info.max_alloc_size; in r600_get_compute_param()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_screen.c491 uint64_t *max_mem_alloc_size = ret; in llvmpipe_get_compute_param() local
492 *max_mem_alloc_size = (1ULL << 31); in llvmpipe_get_compute_param()