Home
last modified time | relevance | path

Searched refs:maxArraySize (Results 1 – 25 of 35) sorted by relevance

12

/external/OpenCL-CTS/test_conformance/images/clGetInfo/
Dtest_1D_2D_array.cpp22 size_t maxWidth, maxArraySize; in test_get_image_info_1D_array() local
40 …etDeviceInfo( device, CL_DEVICE_IMAGE_MAX_ARRAY_SIZE, sizeof( maxArraySize ), &maxArraySize, NULL … in test_get_image_info_1D_array()
78 … get_max_sizes(&numbeOfSizes, 100, sizes, maxWidth, 1, 1, maxArraySize, maxAllocSize, memSize, in test_get_image_info_1D_array()
112 … imageInfo.arraySize = (size_t)random_log_in_range( 16, (int)maxArraySize / 32, seed ); in test_get_image_info_1D_array()
127 … (unsigned int) all_host_ptr_flags[j], (int)imageInfo.rowPitch, (int)maxWidth, (int)maxArraySize ); in test_get_image_info_1D_array()
144 size_t maxWidth, maxHeight, maxArraySize; in test_get_image_info_2D_array() local
165 …etDeviceInfo( device, CL_DEVICE_IMAGE_MAX_ARRAY_SIZE, sizeof( maxArraySize ), &maxArraySize, NULL … in test_get_image_info_2D_array()
207 …get_max_sizes(&numbeOfSizes, 100, sizes, maxWidth, maxHeight, 1, maxArraySize, maxAllocSize, memSi… in test_get_image_info_2D_array()
242 … imageInfo.arraySize = (size_t)random_log_in_range( 16, (int)maxArraySize / 32, seed ); in test_get_image_info_2D_array()
264 …all_host_ptr_flags[j], (int)imageInfo.rowPitch, (int)maxWidth, (int)maxHeight, (int)maxArraySize ); in test_get_image_info_2D_array()
/external/OpenCL-CTS/test_conformance/images/clFillImage/
Dtest_fill_1D_array.cpp65 size_t maxWidth, maxArraySize; in test_fill_image_set_1D_array() local
79 …etDeviceInfo( device, CL_DEVICE_IMAGE_MAX_ARRAY_SIZE, sizeof( maxArraySize ), &maxArraySize, NULL … in test_fill_image_set_1D_array()
122 …get_max_sizes(&numbeOfSizes, 100, sizes, maxWidth, 1, 1, maxArraySize, maxAllocSize, memSize, CL_M… in test_fill_image_set_1D_array()
157 … imageInfo.arraySize = (size_t)random_log_in_range( 16, (int)maxArraySize / 32, seed ); in test_fill_image_set_1D_array()
176 …eInfo.width, (int)imageInfo.arraySize, (int)imageInfo.rowPitch, (int)maxWidth, (int)maxArraySize ); in test_fill_image_set_1D_array()
Dtest_fill_2D_array.cpp67 size_t maxWidth, maxHeight, maxArraySize; in test_fill_image_set_2D_array() local
83 …etDeviceInfo( device, CL_DEVICE_IMAGE_MAX_ARRAY_SIZE, sizeof( maxArraySize ), &maxArraySize, NULL … in test_fill_image_set_2D_array()
127 …get_max_sizes(&numbeOfSizes, 100, sizes, maxWidth, maxHeight, 1, maxArraySize, maxAllocSize, memSi… in test_fill_image_set_2D_array()
183 … imageInfo.arraySize = (size_t)random_log_in_range( 16, (int)maxArraySize / 32,seed ); in test_fill_image_set_2D_array()
202 …)imageInfo.rowPitch, (int)imageInfo.slicePitch, (int)maxWidth, (int)maxHeight, (int)maxArraySize ); in test_fill_image_set_2D_array()
/external/OpenCL-CTS/test_conformance/images/clReadWriteImage/
Dtest_read_1D_array.cpp175 size_t maxWidth, maxArraySize; in test_read_image_set_1D_array() local
187 …etDeviceInfo( device, CL_DEVICE_IMAGE_MAX_ARRAY_SIZE, sizeof( maxArraySize ), &maxArraySize, NULL … in test_read_image_set_1D_array()
224 …get_max_sizes(&numbeOfSizes, 100, sizes, maxWidth, 1, 1, maxArraySize, maxAllocSize, memSize, CL_M… in test_read_image_set_1D_array()
238 log_info( " at max size %d,%d\n", (int)maxWidth, (int)maxArraySize ); in test_read_image_set_1D_array()
254 … imageInfo.arraySize = (size_t)random_log_in_range( 16, (int)maxArraySize / 32, seed ); in test_read_image_set_1D_array()
277 …eInfo.width, (int)imageInfo.arraySize, (int)imageInfo.rowPitch, (int)maxWidth, (int)maxArraySize ); in test_read_image_set_1D_array()
Dtest_read_2D_array.cpp153 size_t maxWidth, maxHeight, maxArraySize; in test_read_image_set_2D_array() local
165 …etDeviceInfo( device, CL_DEVICE_IMAGE_MAX_ARRAY_SIZE, sizeof( maxArraySize ), &maxArraySize, NULL … in test_read_image_set_2D_array()
205 …get_max_sizes(&numbeOfSizes, 100, sizes, maxWidth, maxHeight, 1, maxArraySize, maxAllocSize, memSi… in test_read_image_set_2D_array()
236 … imageInfo.arraySize = (size_t)random_log_in_range( 16, (int)maxArraySize / 32, seed ); in test_read_image_set_2D_array()
264 …)imageInfo.rowPitch, (int)imageInfo.slicePitch, (int)maxWidth, (int)maxHeight, (int)maxArraySize ); in test_read_image_set_2D_array()
/external/OpenCL-CTS/test_conformance/images/kernel_image_methods/
Dtest_1D_array.cpp165 size_t maxWidth, maxArraySize; in test_get_image_info_1D_array() local
177 …etDeviceInfo( device, CL_DEVICE_IMAGE_MAX_ARRAY_SIZE, sizeof( maxArraySize ), &maxArraySize, NULL … in test_get_image_info_1D_array()
211 …get_max_sizes(&numbeOfSizes, 100, sizes, maxWidth, 1, 1, maxArraySize, maxAllocSize, memSize, CL_M… in test_get_image_info_1D_array()
238 … imageInfo.arraySize = (size_t)random_log_in_range( 16, (int)maxArraySize / 32, seed ); in test_get_image_info_1D_array()
255 …eInfo.width, (int)imageInfo.arraySize, (int)imageInfo.rowPitch, (int)maxWidth, (int)maxArraySize ); in test_get_image_info_1D_array()
Dtest_2D_array.cpp176 size_t maxWidth, maxHeight, maxArraySize; in test_get_image_info_2D_array() local
188 …etDeviceInfo( device, CL_DEVICE_IMAGE_MAX_ARRAY_SIZE, sizeof( maxArraySize ), &maxArraySize, NULL … in test_get_image_info_2D_array()
224 …get_max_sizes(&numbeOfSizes, 100, sizes, maxWidth, maxHeight, 1, maxArraySize, maxAllocSize, memSi… in test_get_image_info_2D_array()
256 … imageInfo.arraySize = (size_t)random_log_in_range( 16, (int)maxArraySize / 32, seed ); in test_get_image_info_2D_array()
279 …)imageInfo.rowPitch, (int)imageInfo.slicePitch, (int)maxWidth, (int)maxHeight, (int)maxArraySize ); in test_get_image_info_2D_array()
/external/OpenCL-CTS/test_conformance/images/clCopyImage/
Dtest_copy_2D_array.cpp55 size_t maxWidth, maxHeight, maxArraySize; in test_copy_image_set_2D_array() local
67 …etDeviceInfo( device, CL_DEVICE_IMAGE_MAX_ARRAY_SIZE, sizeof( maxArraySize ), &maxArraySize, NULL … in test_copy_image_set_2D_array()
117 …get_max_sizes(&numbeOfSizes, 100, sizes, maxWidth, maxHeight, 1, maxArraySize, maxAllocSize, memSi… in test_copy_image_set_2D_array()
161 … imageInfo.arraySize = (size_t)random_log_in_range( 16, (int)maxArraySize / 32, seed ); in test_copy_image_set_2D_array()
189 …)imageInfo.rowPitch, (int)imageInfo.slicePitch, (int)maxWidth, (int)maxHeight, (int)maxArraySize ); in test_copy_image_set_2D_array()
Dtest_copy_1D_array.cpp103 size_t maxWidth, maxArraySize; in test_copy_image_set_1D_array() local
114 …etDeviceInfo( device, CL_DEVICE_IMAGE_MAX_ARRAY_SIZE, sizeof( maxArraySize ), &maxArraySize, NULL … in test_copy_image_set_1D_array()
161 …get_max_sizes(&numbeOfSizes, 100, sizes, maxWidth, 1, 1, maxArraySize, maxAllocSize, memSize, CL_M… in test_copy_image_set_1D_array()
201 … imageInfo.arraySize = (size_t)random_log_in_range( 16, (int)maxArraySize / 32, seed ); in test_copy_image_set_1D_array()
231 …eInfo.width, (int)imageInfo.arraySize, (int)imageInfo.rowPitch, (int)maxWidth, (int)maxArraySize ); in test_copy_image_set_1D_array()
Dtest_copy_3D_2D_array.cpp232 size_t maxWidth, maxHeight, max3DWidth, max3DHeight, maxDepth, maxArraySize; in test_copy_image_set_3D_2D_array() local
244 …etDeviceInfo( device, CL_DEVICE_IMAGE_MAX_ARRAY_SIZE, sizeof( maxArraySize ), &maxArraySize, NULL … in test_copy_image_set_3D_2D_array()
306 …get_max_sizes(&numbeOfSizes, 100, sizes2Darray, maxWidth, maxHeight, maxDepth, maxArraySize, maxAl… in test_copy_image_set_3D_2D_array()
307 …get_max_sizes(&numbeOfSizes, 100, sizes3D, max3DWidth, max3DHeight, maxDepth, maxArraySize, maxAll… in test_copy_image_set_3D_2D_array()
377 … dstImageInfo.arraySize = (size_t)random_log_in_range( 16, (int)maxArraySize / 32, seed ); in test_copy_image_set_3D_2D_array()
Dtest_copy_2D_2D_array.cpp210 size_t maxWidth, maxHeight, maxArraySize; in test_copy_image_set_2D_2D_array() local
220 …etDeviceInfo( device, CL_DEVICE_IMAGE_MAX_ARRAY_SIZE, sizeof( maxArraySize ), &maxArraySize, NULL … in test_copy_image_set_2D_2D_array()
281 …zes(&numberOfSizes2DArray, 100, sizes2DArray, maxWidth, maxHeight, 1, maxArraySize, maxAllocSize/2… in test_copy_image_set_2D_2D_array()
359 … dstImageInfo.arraySize = (size_t)random_log_in_range( 16, (int)maxArraySize / 32, seed ); in test_copy_image_set_2D_2D_array()
/external/OpenCL-CTS/test_conformance/images/samplerlessReads/
Dtest_read_1D_array.cpp194 size_t maxWidth, maxArraySize; in test_read_image_set_1D_array() local
210 …etDeviceInfo( device, CL_DEVICE_IMAGE_MAX_ARRAY_SIZE, sizeof( maxArraySize ), &maxArraySize, NULL … in test_read_image_set_1D_array()
284 …get_max_sizes(&numbeOfSizes, 100, sizes, maxWidth, 1, 1, maxArraySize, maxAllocSize, memSize, CL_M… in test_read_image_set_1D_array()
310 … imageInfo.arraySize = (size_t)random_log_in_range( 16, (int)maxArraySize / 32, seed ); in test_read_image_set_1D_array()
325 …eInfo.width, (int)imageInfo.arraySize, (int)imageInfo.rowPitch, (int)maxWidth, (int)maxArraySize ); in test_read_image_set_1D_array()
Dtest_read_2D_array.cpp187 size_t maxWidth, maxHeight, maxArraySize; in test_read_image_set_2D_array() local
198 …etDeviceInfo( device, CL_DEVICE_IMAGE_MAX_ARRAY_SIZE, sizeof( maxArraySize ), &maxArraySize, NULL … in test_read_image_set_2D_array()
279 …get_max_sizes(&numbeOfSizes, 100, sizes, maxWidth, maxHeight, 1, maxArraySize, maxAllocSize, memSi… in test_read_image_set_2D_array()
307 … imageInfo.arraySize = (size_t)random_log_in_range( 16, (int)maxArraySize / 32, seed ); in test_read_image_set_2D_array()
325 …)imageInfo.rowPitch, (int)imageInfo.slicePitch, (int)maxWidth, (int)maxHeight, (int)maxArraySize ); in test_read_image_set_2D_array()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DSmallSortedMap.java129 private final int maxArraySize;
147 this.maxArraySize = arraySize;
248 if (insertionPoint >= maxArraySize) { in put()
253 if (entryList.size() == maxArraySize) { in put()
255 final Entry lastEntryInArray = entryList.remove(maxArraySize - 1); in put()
390 entryList = new ArrayList<Entry>(maxArraySize); in ensureEntryArrayMutable()
/external/cronet/tot/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DSmallSortedMap.java129 private final int maxArraySize;
147 this.maxArraySize = arraySize;
248 if (insertionPoint >= maxArraySize) { in put()
253 if (entryList.size() == maxArraySize) { in put()
255 final Entry lastEntryInArray = entryList.remove(maxArraySize - 1); in put()
390 entryList = new ArrayList<Entry>(maxArraySize); in ensureEntryArrayMutable()
/external/cronet/stable/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DSmallSortedMap.java129 private final int maxArraySize;
147 this.maxArraySize = arraySize;
248 if (insertionPoint >= maxArraySize) { in put()
253 if (entryList.size() == maxArraySize) { in put()
255 final Entry lastEntryInArray = entryList.remove(maxArraySize - 1); in put()
390 entryList = new ArrayList<Entry>(maxArraySize); in ensureEntryArrayMutable()
/external/mesa3d/src/freedreno/vulkan/
Dtu_formats.cc362 uint32_t maxArraySize; in tu_get_image_format_properties() local
438 maxArraySize = 2048; in tu_get_image_format_properties()
445 maxArraySize = 2048; in tu_get_image_format_properties()
452 maxArraySize = 1; in tu_get_image_format_properties()
533 .maxArrayLayers = maxArraySize, in tu_get_image_format_properties()
/external/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_formats.c298 uint32_t maxArraySize; in lvp_get_image_format_properties() local
328 maxArraySize = max_layers; in lvp_get_image_format_properties()
335 maxArraySize = max_layers; in lvp_get_image_format_properties()
347 maxArraySize = 1; in lvp_get_image_format_properties()
401 .maxArrayLayers = maxArraySize, in lvp_get_image_format_properties()
/external/OpenCL-CTS/test_conformance/images/kernel_read_write/
Dtest_write_1D_array.cpp604 size_t maxWidth, maxArraySize; in test_write_image_1D_array_set() local
617 …etDeviceInfo( device, CL_DEVICE_IMAGE_MAX_ARRAY_SIZE, sizeof( maxArraySize ), &maxArraySize, NULL … in test_write_image_1D_array_set()
685 …get_max_sizes(&numbeOfSizes, 100, sizes, maxWidth, 1, 1, maxArraySize, maxAllocSize, memSize, CL_M… in test_write_image_1D_array_set()
723 imageInfo.arraySize = (size_t)random_log_in_range( 16, (int)maxArraySize / 32, d ); in test_write_image_1D_array_set()
745 …eInfo.width, (int)imageInfo.arraySize, (int)imageInfo.rowPitch, (int)maxWidth, (int)maxArraySize ); in test_write_image_1D_array_set()
Dtest_write_2D_array.cpp643 size_t maxWidth, maxHeight, maxArraySize; in test_write_image_2D_array_set() local
655 …etDeviceInfo( device, CL_DEVICE_IMAGE_MAX_ARRAY_SIZE, sizeof( maxArraySize ), &maxArraySize, NULL … in test_write_image_2D_array_set()
730 …get_max_sizes(&numbeOfSizes, 100, sizes, maxWidth, maxHeight, 1, maxArraySize, maxAllocSize, memSi… in test_write_image_2D_array_set()
766 int maxArraySizeRange = (int) reduceImageDepth(maxArraySize); in test_write_image_2D_array_set()
808 … imageInfo.rowPitch, imageInfo.slicePitch, maxWidth, maxHeight, maxArraySize ); in test_write_image_2D_array_set()
Dtest_read_1D_array.cpp1141 size_t maxWidth, maxArraySize; in test_read_image_set_1D_array() local
1152 …etDeviceInfo( device, CL_DEVICE_IMAGE_MAX_ARRAY_SIZE, sizeof( maxArraySize ), &maxArraySize, NULL … in test_read_image_set_1D_array()
1227 …get_max_sizes(&numbeOfSizes, 100, sizes, maxWidth, 1, 1, maxArraySize, maxAllocSize, memSize, CL_M… in test_read_image_set_1D_array()
1250 while( imageInfo.arraySize >= maxArraySize / 2 ) in test_read_image_set_1D_array()
1283 … imageInfo.arraySize = (size_t)random_log_in_range( 16, (int)maxArraySize / 32, seed ); in test_read_image_set_1D_array()
1305 …eInfo.width, (int)imageInfo.arraySize, (int)imageInfo.rowPitch, (int)maxWidth, (int)maxArraySize ); in test_read_image_set_1D_array()
/external/mesa3d/src/amd/vulkan/
Dradv_formats.c856 uint32_t maxArraySize; in radv_get_image_format_properties() local
892 maxArraySize = gfx_level >= GFX10 ? 8192 : 2048; in radv_get_image_format_properties()
899 maxArraySize = gfx_level >= GFX10 ? 8192 : 2048; in radv_get_image_format_properties()
912 maxArraySize = 1; in radv_get_image_format_properties()
919 maxArraySize = 1; in radv_get_image_format_properties()
938 maxArraySize = 1; in radv_get_image_format_properties()
1040 .maxArrayLayers = maxArraySize, in radv_get_image_format_properties()
/external/mesa3d/src/panfrost/vulkan/
Dpanvk_physical_device.c1224 uint32_t maxArraySize; in get_image_format_properties() local
1273 maxArraySize = 1 << 16; in get_image_format_properties()
1280 maxArraySize = 1 << 16; in get_image_format_properties()
1287 maxArraySize = 1; in get_image_format_properties()
1346 .maxArrayLayers = maxArraySize, in get_image_format_properties()
/external/mesa3d/src/intel/vulkan_hasvk/
Danv_formats.c960 uint32_t maxArraySize; in anv_get_image_format_properties() local
1013 maxArraySize = 2048; in anv_get_image_format_properties()
1024 maxArraySize = 2048; in anv_get_image_format_properties()
1040 maxArraySize = 1; in anv_get_image_format_properties()
1072 maxArraySize = 1; in anv_get_image_format_properties()
1225 .maxArrayLayers = maxArraySize, in anv_get_image_format_properties()
/external/mesa3d/src/nouveau/vulkan/
Dnvk_image.c418 uint32_t maxArraySize; in nvk_GetPhysicalDeviceImageFormatProperties2() local
422 maxArraySize = 2048; in nvk_GetPhysicalDeviceImageFormatProperties2()
426 maxArraySize = 2048; in nvk_GetPhysicalDeviceImageFormatProperties2()
430 maxArraySize = 1; in nvk_GetPhysicalDeviceImageFormatProperties2()
436 maxArraySize = 1; in nvk_GetPhysicalDeviceImageFormatProperties2()
444 maxArraySize = 1; in nvk_GetPhysicalDeviceImageFormatProperties2()
575 .maxArrayLayers = maxArraySize, in nvk_GetPhysicalDeviceImageFormatProperties2()

12