Home
last modified time | relevance | path

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

/aosp_15_r20/external/OpenCL-CTS/test_conformance/basic/
H A 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()
/aosp_15_r20/external/mesa3d/src/gallium/frontends/clover/core/
H A Ddevice.cpp77 dev.max_mem_alloc_size() < std::max(dev.max_mem_global() / 4, in get_highest_supported_version()
118 if (dev.max_mem_alloc_size() < std::max(std::min((cl_ulong)1024 * 1024 * 1024, in get_highest_supported_version()
321 device::max_mem_alloc_size() const { in max_mem_alloc_size() function in device
H A Ddevice.hpp72 cl_ulong max_mem_alloc_size() const;
/aosp_15_r20/external/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_get.c1265 uint64_t max_mem_alloc_size; in si_get_compute_param() local
1268 &max_mem_alloc_size); in si_get_compute_param()
1277 MIN2(4 * max_mem_alloc_size, sscreen->info.max_heap_size_kb * 1024ull); in si_get_compute_param()
1302 uint64_t *max_mem_alloc_size = ret; in si_get_compute_param() local
1307 *max_mem_alloc_size = (sscreen->info.max_heap_size_kb / 4) * 1024ull; in si_get_compute_param()
/aosp_15_r20/external/mesa3d/src/gallium/drivers/r600/
H A Dr600_pipe_common.c955 uint64_t max_mem_alloc_size; in r600_get_compute_param() local
959 &max_mem_alloc_size); in r600_get_compute_param()
967 *max_global_size = MIN2(4 * max_mem_alloc_size, in r600_get_compute_param()
990 uint64_t *max_mem_alloc_size = ret; in r600_get_compute_param() local
992 *max_mem_alloc_size = (rscreen->info.max_heap_size_kb / 4) * 1024ull; in r600_get_compute_param()
/aosp_15_r20/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
H A DTensorDeviceSycl.h34 max_mem_alloc_size( in SyclDeviceInfo()
37 cl::sycl::info::device::max_mem_alloc_size>()), in SyclDeviceInfo()
59 unsigned long max_mem_alloc_size; member
647 return m_device_info.max_mem_alloc_size; in max_buffer_size()
/aosp_15_r20/external/pytorch/c10/xpu/
H A DXPUDeviceProp.h58 _(max_mem_alloc_size) \
/aosp_15_r20/external/mesa3d/src/gallium/frontends/clover/api/
H A Dmemory.cpp119 map(std::mem_fn(&device::max_mem_alloc_size), ctx.devices()) in clCreateBufferWithProperties()
596 map(std::mem_fn(&device::max_mem_alloc_size), ctx.devices()))) in clSVMAlloc()
H A Ddevice.cpp190 buf.as_scalar<cl_ulong>() = dev.max_mem_alloc_size(); in clGetDeviceInfo()
/aosp_15_r20/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_screen.c539 uint64_t *max_mem_alloc_size = ret; in llvmpipe_get_compute_param() local
540 *max_mem_alloc_size = (1ULL << 31); in llvmpipe_get_compute_param()