Home
last modified time | relevance | path

Searched refs:maxArraySize (Results 1 – 25 of 29) 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()
77 … get_max_sizes(&numbeOfSizes, 100, sizes, maxWidth, 1, 1, maxArraySize, maxAllocSize, memSize, in test_get_image_info_1D_array()
111 … imageInfo.arraySize = (size_t)random_log_in_range( 16, (int)maxArraySize / 32, seed ); in test_get_image_info_1D_array()
126 … (unsigned int) all_host_ptr_flags[j], (int)imageInfo.rowPitch, (int)maxWidth, (int)maxArraySize ); in test_get_image_info_1D_array()
143 size_t maxWidth, maxHeight, maxArraySize; in test_get_image_info_2D_array() local
164 …etDeviceInfo( device, CL_DEVICE_IMAGE_MAX_ARRAY_SIZE, sizeof( maxArraySize ), &maxArraySize, NULL … in test_get_image_info_2D_array()
205 …get_max_sizes(&numbeOfSizes, 100, sizes, maxWidth, maxHeight, 1, maxArraySize, maxAllocSize, memSi… in test_get_image_info_2D_array()
240 … imageInfo.arraySize = (size_t)random_log_in_range( 16, (int)maxArraySize / 32, seed ); in test_get_image_info_2D_array()
262 …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()
121 …get_max_sizes(&numbeOfSizes, 100, sizes, maxWidth, 1, 1, maxArraySize, maxAllocSize, memSize, CL_M… in test_fill_image_set_1D_array()
156 … imageInfo.arraySize = (size_t)random_log_in_range( 16, (int)maxArraySize / 32, seed ); in test_fill_image_set_1D_array()
175 …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()
126 …get_max_sizes(&numbeOfSizes, 100, sizes, maxWidth, maxHeight, 1, maxArraySize, maxAllocSize, memSi… in test_fill_image_set_2D_array()
182 … imageInfo.arraySize = (size_t)random_log_in_range( 16, (int)maxArraySize / 32,seed ); in test_fill_image_set_2D_array()
201 …)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.cpp176 size_t maxWidth, maxArraySize; in test_read_image_set_1D_array() local
188 …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.cpp154 size_t maxWidth, maxHeight, maxArraySize; in test_read_image_set_2D_array() local
166 …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()
210 …get_max_sizes(&numbeOfSizes, 100, sizes, maxWidth, 1, 1, maxArraySize, maxAllocSize, memSize, CL_M… in test_get_image_info_1D_array()
237 … imageInfo.arraySize = (size_t)random_log_in_range( 16, (int)maxArraySize / 32, seed ); in test_get_image_info_1D_array()
254 …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()
116 …get_max_sizes(&numbeOfSizes, 100, sizes, maxWidth, maxHeight, 1, maxArraySize, maxAllocSize, memSi… in test_copy_image_set_2D_array()
160 … imageInfo.arraySize = (size_t)random_log_in_range( 16, (int)maxArraySize / 32, seed ); in test_copy_image_set_2D_array()
188 …)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()
160 …get_max_sizes(&numbeOfSizes, 100, sizes, maxWidth, 1, 1, maxArraySize, maxAllocSize, memSize, CL_M… in test_copy_image_set_1D_array()
200 … imageInfo.arraySize = (size_t)random_log_in_range( 16, (int)maxArraySize / 32, seed ); in test_copy_image_set_1D_array()
230 …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()
305 …get_max_sizes(&numbeOfSizes, 100, sizes2Darray, maxWidth, maxHeight, maxDepth, maxArraySize, maxAl… in test_copy_image_set_3D_2D_array()
306 …get_max_sizes(&numbeOfSizes, 100, sizes3D, max3DWidth, max3DHeight, maxDepth, maxArraySize, maxAll… in test_copy_image_set_3D_2D_array()
376 … 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()
280 …zes(&numberOfSizes2DArray, 100, sizes2DArray, maxWidth, maxHeight, 1, maxArraySize, maxAllocSize/2… in test_copy_image_set_2D_2D_array()
358 … 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()
283 …get_max_sizes(&numbeOfSizes, 100, sizes, maxWidth, 1, 1, maxArraySize, maxAllocSize, memSize, CL_M… in test_read_image_set_1D_array()
309 … imageInfo.arraySize = (size_t)random_log_in_range( 16, (int)maxArraySize / 32, seed ); in test_read_image_set_1D_array()
324 …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()
278 …get_max_sizes(&numbeOfSizes, 100, sizes, maxWidth, maxHeight, 1, maxArraySize, maxAllocSize, memSi… in test_read_image_set_2D_array()
306 … imageInfo.arraySize = (size_t)random_log_in_range( 16, (int)maxArraySize / 32, seed ); in test_read_image_set_2D_array()
324 …)imageInfo.rowPitch, (int)imageInfo.slicePitch, (int)maxWidth, (int)maxHeight, (int)maxArraySize ); in test_read_image_set_2D_array()
/external/swiftshader/src/OpenGL/compiler/
DTypes.h246 …primarySize(s0), secondarySize(s1), array(false), arraySize(0), maxArraySize(0), arrayInformationT… in POOL_ALLOCATOR_NEW_DELETE()
253 …primarySize(s0), secondarySize(s1), array(a), arraySize(0), maxArraySize(0), arrayInformationType(… in type()
260 …primarySize(1), secondarySize(1), array(false), arraySize(0), maxArraySize(0), arrayInformationTyp… in type()
268 …primarySize(1), secondarySize(1), array(arraySizeIn > 0), arraySize(arraySizeIn), maxArraySize(0),… in TType()
435 int getMaxArraySize () const { return maxArraySize; } in getMaxArraySize()
436 void setMaxArraySize (int s) { maxArraySize = s; } in setMaxArraySize()
437 void clearArrayness() { array = false; arraySize = 0; maxArraySize = 0; } in clearArrayness()
541 int maxArraySize = 0; variable
DSymbolTable.cpp38 …marySize), secondarySize(p.secondarySize), array(p.array), arraySize(p.arraySize), maxArraySize(0), in TType()
/external/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_formats.c268 uint32_t maxArraySize; in lvp_get_image_format_properties() local
297 maxArraySize = max_layers; in lvp_get_image_format_properties()
304 maxArraySize = max_layers; in lvp_get_image_format_properties()
312 maxArraySize = 1; in lvp_get_image_format_properties()
362 .maxArrayLayers = maxArraySize, in lvp_get_image_format_properties()
/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()
391 entryList = new ArrayList<Entry>(maxArraySize); in ensureEntryArrayMutable()
/external/OpenCL-CTS/test_conformance/images/kernel_read_write/
Dtest_write_1D_array.cpp559 size_t maxWidth, maxArraySize; in test_write_image_1D_array_set() local
572 …etDeviceInfo( device, CL_DEVICE_IMAGE_MAX_ARRAY_SIZE, sizeof( maxArraySize ), &maxArraySize, NULL … in test_write_image_1D_array_set()
638 …get_max_sizes(&numbeOfSizes, 100, sizes, maxWidth, 1, 1, maxArraySize, maxAllocSize, memSize, CL_M… in test_write_image_1D_array_set()
676 imageInfo.arraySize = (size_t)random_log_in_range( 16, (int)maxArraySize / 32, d ); in test_write_image_1D_array_set()
698 …eInfo.width, (int)imageInfo.arraySize, (int)imageInfo.rowPitch, (int)maxWidth, (int)maxArraySize ); in test_write_image_1D_array_set()
Dtest_write_2D_array.cpp585 size_t maxWidth, maxHeight, maxArraySize; in test_write_image_2D_array_set() local
597 …etDeviceInfo( device, CL_DEVICE_IMAGE_MAX_ARRAY_SIZE, sizeof( maxArraySize ), &maxArraySize, NULL … in test_write_image_2D_array_set()
668 …get_max_sizes(&numbeOfSizes, 100, sizes, maxWidth, maxHeight, 1, maxArraySize, maxAllocSize, memSi… in test_write_image_2D_array_set()
704 int maxArraySizeRange = (int) reduceImageDepth(maxArraySize); in test_write_image_2D_array_set()
746 … imageInfo.rowPitch, imageInfo.slicePitch, maxWidth, maxHeight, maxArraySize ); in test_write_image_2D_array_set()
Dtest_read_1D_array.cpp1104 size_t maxWidth, maxArraySize; in test_read_image_set_1D_array() local
1115 …etDeviceInfo( device, CL_DEVICE_IMAGE_MAX_ARRAY_SIZE, sizeof( maxArraySize ), &maxArraySize, NULL … in test_read_image_set_1D_array()
1190 …get_max_sizes(&numbeOfSizes, 100, sizes, maxWidth, 1, 1, maxArraySize, maxAllocSize, memSize, CL_M… in test_read_image_set_1D_array()
1213 while( imageInfo.arraySize >= maxArraySize / 2 ) in test_read_image_set_1D_array()
1246 … imageInfo.arraySize = (size_t)random_log_in_range( 16, (int)maxArraySize / 32, seed ); in test_read_image_set_1D_array()
1268 …eInfo.width, (int)imageInfo.arraySize, (int)imageInfo.rowPitch, (int)maxWidth, (int)maxArraySize ); in test_read_image_set_1D_array()
Dtest_read_2D_array.cpp1319 size_t maxWidth, maxHeight, maxArraySize; in test_read_image_set_2D_array() local
1330 …etDeviceInfo( device, CL_DEVICE_IMAGE_MAX_ARRAY_SIZE, sizeof( maxArraySize ), &maxArraySize, NULL … in test_read_image_set_2D_array()
1428 …get_max_sizes(&numbeOfSizes, 100, sizes, maxWidth, maxHeight, 1, maxArraySize, maxAllocSize, memSi… in test_read_image_set_2D_array()
1484 int maxArraySizeRange = (int) reduceImageDepth(maxArraySize); in test_read_image_set_2D_array()
1523 …)imageInfo.rowPitch, (int)imageInfo.slicePitch, (int)maxWidth, (int)maxHeight, (int)maxArraySize ); in test_read_image_set_2D_array()
/external/mesa3d/src/amd/vulkan/
Dradv_formats.c1147 uint32_t maxArraySize; in radv_get_image_format_properties() local
1176 maxArraySize = chip_class >= GFX10 ? 8192 : 2048; in radv_get_image_format_properties()
1183 maxArraySize = chip_class >= GFX10 ? 8192 : 2048; in radv_get_image_format_properties()
1196 maxArraySize = 1; in radv_get_image_format_properties()
1203 maxArraySize = 1; in radv_get_image_format_properties()
1224 maxArraySize = 1; in radv_get_image_format_properties()
1292 .maxArrayLayers = maxArraySize, in radv_get_image_format_properties()
/external/mesa3d/src/freedreno/vulkan/
Dtu_formats.c523 uint32_t maxArraySize; in tu_get_image_format_properties() local
584 maxArraySize = 2048; in tu_get_image_format_properties()
591 maxArraySize = 2048; in tu_get_image_format_properties()
598 maxArraySize = 1; in tu_get_image_format_properties()
644 .maxArrayLayers = maxArraySize, in tu_get_image_format_properties()
/external/mesa3d/src/intel/vulkan/
Danv_formats.c830 uint32_t maxArraySize; in anv_get_image_format_properties() local
850 maxArraySize = 2048; in anv_get_image_format_properties()
861 maxArraySize = 2048; in anv_get_image_format_properties()
868 maxArraySize = 1; in anv_get_image_format_properties()
969 maxArraySize = 1; in anv_get_image_format_properties()
1011 .maxArrayLayers = maxArraySize, in anv_get_image_format_properties()
/external/deqp/external/openglcts/modules/gles31/
Des31cLayoutBindingTests.cpp900 virtual int maxArraySize() in maxArraySize() function in glcts::LayoutBindingBaseCase
940 return (maxArraySize() > 0); in isSupported()
1586 std::vector<int> arraySizes = makeSparseRange(maxArraySize(), 1); in binding_array_size()
1715 arraySize = std::min(arraySize, maxArraySize() / 2); in binding_array_multiple()
2012 virtual int maxArraySize() in maxArraySize() function in glcts::SamplerLayoutBindingCase
2104 int maxArraySize() in maxArraySize() function in glcts::ImageLayoutBindingCase
2314 int maxArraySize() in maxArraySize() function in glcts::AtomicCounterLayoutBindingCase
2356 std::vector<int> arraySizes = makeSparseRange(maxArraySize(), 1); in binding_array_size()
3068 int maxArraySize() in maxArraySize() function in glcts::UniformBlocksLayoutBindingCase
3261 int maxArraySize() in maxArraySize() function in glcts::ShaderStorageBufferLayoutBindingCase

12