Home
last modified time | relevance | path

Searched refs:random_log_in_range (Results 1 – 25 of 45) sorted by relevance

12

/external/OpenCL-CTS/test_conformance/images/kernel_image_methods/
Dtest_3D.cpp115 imageInfo.width = (size_t)random_log_in_range( 16, (int)maxWidth / 32, seed ); in test_get_image_info_3D()
116 imageInfo.height = (size_t)random_log_in_range( 16, (int)maxHeight / 32, seed ); in test_get_image_info_3D()
117 imageInfo.depth = (size_t)random_log_in_range( 16, (int)maxDepth / 32, seed ); in test_get_image_info_3D()
122 size_t extraWidth = (int)random_log_in_range( 0, 64, seed ); in test_get_image_info_3D()
130 size_t extraHeight = (int)random_log_in_range( 0, 8, seed ); in test_get_image_info_3D()
Dtest_2D_array.cpp254 imageInfo.width = (size_t)random_log_in_range( 16, (int)maxWidth / 32, seed ); in test_get_image_info_2D_array()
255 imageInfo.height = (size_t)random_log_in_range( 16, (int)maxHeight / 32, seed ); 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()
261 size_t extraWidth = (int)random_log_in_range( 0, 64, seed ); in test_get_image_info_2D_array()
269 size_t extraHeight = (int)random_log_in_range( 0, 8, seed ); in test_get_image_info_2D_array()
Dtest_1D_array.cpp236 imageInfo.width = (size_t)random_log_in_range( 16, (int)maxWidth / 32, seed ); 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()
240 size_t extraWidth = (int)random_log_in_range( 0, 64, seed ); in test_get_image_info_1D_array()
Dtest_2D.cpp285 imageInfo.width = (size_t)random_log_in_range( 16, (int)maxWidth / 32, seed ); in test_get_image_info_2D()
286 imageInfo.height = (size_t)random_log_in_range( 16, (int)maxHeight / 32, seed ); in test_get_image_info_2D()
289 size_t extraWidth = (int)random_log_in_range( 0, 64, seed ); in test_get_image_info_2D()
/external/OpenCL-CTS/test_conformance/images/clGetInfo/
Dtest_1D_2D_array.cpp110 imageInfo.width = (size_t)random_log_in_range( 16, (int)maxWidth / 32, seed ); 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()
115 size_t extraWidth = (int)random_log_in_range( 0, 64, seed ); in test_get_image_info_1D_array()
238 imageInfo.width = (size_t)random_log_in_range( 16, (int)maxWidth / 32, seed ); in test_get_image_info_2D_array()
239 imageInfo.height = (size_t)random_log_in_range( 16, (int)maxHeight / 32, seed ); 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()
245 size_t extraWidth = (int)random_log_in_range( 0, 64, seed ); in test_get_image_info_2D_array()
253 size_t extraHeight = (int)random_log_in_range( 0, 8, seed ); in test_get_image_info_2D_array()
Dtest_3D.cpp117 imageInfo.width = (size_t)random_log_in_range( 16, (int)maxWidth / 32, seed ); in test_get_image_info_3D()
118 imageInfo.height = (size_t)random_log_in_range( 16, (int)maxHeight / 32, seed ); in test_get_image_info_3D()
119 imageInfo.depth = (size_t)random_log_in_range( 16, (int)maxDepth / 32, seed ); in test_get_image_info_3D()
124 size_t extraWidth = (int)random_log_in_range( 0, 64, seed ); in test_get_image_info_3D()
132 size_t extraHeight = (int)random_log_in_range( 0, 8, seed ); in test_get_image_info_3D()
Dtest_1D.cpp104 imageInfo.width = (size_t)random_log_in_range( 16, (int)maxWidth / 32, seed ); in test_get_image_info_1D()
107 size_t extraWidth = (int)random_log_in_range( 0, 64, seed ); in test_get_image_info_1D()
/external/OpenCL-CTS/test_conformance/images/clReadWriteImage/
Dtest_read_2D_array.cpp187 …imageInfo.num_mip_levels = (cl_uint) random_log_in_range(2, (int)compute_max_mip_levels(imageInfo.… in test_read_image_set_2D_array()
217 …imageInfo.num_mip_levels = (cl_uint) random_log_in_range(2, (int)compute_max_mip_levels(imageInfo.… in test_read_image_set_2D_array()
234 imageInfo.width = (size_t)random_log_in_range( 16, (int)maxWidth / 32, seed ); in test_read_image_set_2D_array()
235 imageInfo.height = (size_t)random_log_in_range( 16, (int)maxHeight / 32, seed ); 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()
240 …imageInfo.num_mip_levels = (cl_uint) random_log_in_range(2, (int)compute_max_mip_levels(imageInfo.… in test_read_image_set_2D_array()
252 size_t extraWidth = (int)random_log_in_range( 0, 64, seed ); in test_read_image_set_2D_array()
255 size_t extraHeight = (int)random_log_in_range( 0, 8, seed ); in test_read_image_set_2D_array()
Dtest_read_3D.cpp192 …imageInfo.num_mip_levels = (cl_uint) random_log_in_range(2, (int)compute_max_mip_levels(imageInfo.… in test_read_image_set_3D()
222 …imageInfo.num_mip_levels = (cl_uint) random_log_in_range(2, (int)compute_max_mip_levels(imageInfo.… in test_read_image_set_3D()
238 imageInfo.width = (size_t)random_log_in_range( 16, (int)maxWidth / 32, seed ); in test_read_image_set_3D()
239 imageInfo.height = (size_t)random_log_in_range( 16, (int)maxHeight / 32, seed ); in test_read_image_set_3D()
240 imageInfo.depth = (size_t)random_log_in_range( 16, (int)maxDepth / 32, seed ); in test_read_image_set_3D()
243 …imageInfo.num_mip_levels = (cl_uint) random_log_in_range(2, (int)compute_max_mip_levels(imageInfo.… in test_read_image_set_3D()
255 size_t extraWidth = (int)random_log_in_range( 0, 64, seed ); in test_read_image_set_3D()
258 size_t extraHeight = (int)random_log_in_range( 0, 8, seed ); in test_read_image_set_3D()
Dtest_read_2D.cpp208 …imageInfo.num_mip_levels = (cl_uint) random_log_in_range(2, (int)compute_max_mip_levels(imageInfo.… in test_read_image_set_2D()
235 …imageInfo.num_mip_levels = (cl_uint) random_log_in_range(2, (int)compute_max_mip_levels(imageInfo.… in test_read_image_set_2D()
253 imageInfo.width = (size_t)random_log_in_range( 16, (int)maxWidth / 32, seed ); in test_read_image_set_2D()
254 imageInfo.height = (size_t)random_log_in_range( 16, (int)maxHeight / 32, seed ); in test_read_image_set_2D()
257 …imageInfo.num_mip_levels = (cl_uint) random_log_in_range(2, (int)compute_max_mip_levels(imageInfo.… in test_read_image_set_2D()
266 size_t extraWidth = (int)random_log_in_range( 0, 64, seed ); in test_read_image_set_2D()
Dtest_read_1D_array.cpp206 …imageInfo.num_mip_levels = (cl_uint) random_log_in_range(2, (int)compute_max_mip_levels(imageInfo.… in test_read_image_set_1D_array()
234 …imageInfo.num_mip_levels = (cl_uint) random_log_in_range(2, (int)compute_max_mip_levels(imageInfo.… in test_read_image_set_1D_array()
253 imageInfo.width = (size_t)random_log_in_range( 16, (int)maxWidth / 32, seed ); 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()
257 …imageInfo.num_mip_levels = (cl_uint) random_log_in_range(2, (int)compute_max_mip_levels(imageInfo.… in test_read_image_set_1D_array()
267 size_t extraWidth = (int)random_log_in_range( 0, 64, seed ); in test_read_image_set_1D_array()
Dtest_read_1D.cpp197 …imageInfo.num_mip_levels = (cl_uint) random_log_in_range(2, (int)compute_max_mip_levels(imageInfo.… in test_read_image_set_1D()
222 …imageInfo.num_mip_levels = (cl_uint) random_log_in_range(2, (int)compute_max_mip_levels(imageInfo.… in test_read_image_set_1D()
240 imageInfo.width = (size_t)random_log_in_range( 16, (int)maxWidth / 32, seed ); in test_read_image_set_1D()
244 …imageInfo.num_mip_levels = (cl_uint) random_log_in_range(2, (int)compute_max_mip_levels(imageInfo.… in test_read_image_set_1D()
253 size_t extraWidth = (int)random_log_in_range( 0, 64, seed ); in test_read_image_set_1D()
/external/OpenCL-CTS/test_conformance/images/clCopyImage/
Dtest_copy_3D.cpp72 …imageInfo.num_mip_levels = (cl_uint) random_log_in_range(2, (int)compute_max_mip_levels(imageInfo.… in test_copy_image_set_3D()
114 …imageInfo.num_mip_levels = (cl_uint) random_log_in_range(2, (int)compute_max_mip_levels(imageInfo.… in test_copy_image_set_3D()
144 imageInfo.width = (size_t)random_log_in_range( 16, (int)maxWidth / 32, seed ); in test_copy_image_set_3D()
145 imageInfo.height = (size_t)random_log_in_range( 16, (int)maxHeight / 32, seed ); in test_copy_image_set_3D()
146 imageInfo.depth = (size_t)random_log_in_range( 16, (int)maxDepth / 32,seed ); in test_copy_image_set_3D()
150 …imageInfo.num_mip_levels = (cl_uint) random_log_in_range(2, (int)compute_max_mip_levels(imageInfo.… in test_copy_image_set_3D()
Dtest_copy_2D_3D.cpp251 …srcImageInfo.num_mip_levels = (cl_uint) random_log_in_range(2, (int)compute_max_mip_levels(srcImag… in test_copy_image_set_2D_3D()
253 …dstImageInfo.num_mip_levels = (cl_uint) random_log_in_range(2, (int)compute_max_mip_levels(dstImag… in test_copy_image_set_2D_3D()
298 …srcImageInfo.num_mip_levels = (cl_uint) random_log_in_range(2, (int)compute_max_mip_levels(srcImag… in test_copy_image_set_2D_3D()
300 …dstImageInfo.num_mip_levels = (cl_uint) random_log_in_range(2, (int)compute_max_mip_levels(dstImag… in test_copy_image_set_2D_3D()
343 dstImageInfo.width = (size_t)random_log_in_range( 16, (int)max3DWidth / 32, seed ); in test_copy_image_set_2D_3D()
344 … dstImageInfo.height = (size_t)random_log_in_range( 16, (int)max3DHeight / 32, seed ); in test_copy_image_set_2D_3D()
345 dstImageInfo.depth = (size_t)random_log_in_range( 16, (int)max3DDepth / 32, seed ); in test_copy_image_set_2D_3D()
346 srcImageInfo.width = (size_t)random_log_in_range( 16, (int)maxWidth / 32, seed ); in test_copy_image_set_2D_3D()
347 srcImageInfo.height = (size_t)random_log_in_range( 16, (int)maxHeight / 32, seed ); in test_copy_image_set_2D_3D()
351 …srcImageInfo.num_mip_levels = (cl_uint) random_log_in_range(2, (int)compute_max_mip_levels(srcImag… in test_copy_image_set_2D_3D()
[all …]
Dtest_copy_2D_2D_array.cpp245 …srcImageInfo.num_mip_levels = (cl_uint) random_log_in_range(2, (int)compute_max_mip_levels(srcImag… in test_copy_image_set_2D_2D_array()
247 …dstImageInfo.num_mip_levels = (cl_uint) random_log_in_range(2, (int)compute_max_mip_levels(dstImag… in test_copy_image_set_2D_2D_array()
298 …srcImageInfo.num_mip_levels = (cl_uint) random_log_in_range(2, (int)compute_max_mip_levels(srcImag… in test_copy_image_set_2D_2D_array()
300 …dstImageInfo.num_mip_levels = (cl_uint) random_log_in_range(2, (int)compute_max_mip_levels(dstImag… in test_copy_image_set_2D_2D_array()
356 dstImageInfo.width = (size_t)random_log_in_range( 16, (int)maxWidth / 32, seed ); in test_copy_image_set_2D_2D_array()
357 dstImageInfo.height = (size_t)random_log_in_range( 16, (int)maxHeight / 32, seed ); 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()
359 srcImageInfo.width = (size_t)random_log_in_range( 16, (int)maxWidth / 32, seed ); in test_copy_image_set_2D_2D_array()
360 srcImageInfo.height = (size_t)random_log_in_range( 16, (int)maxHeight / 32, seed ); in test_copy_image_set_2D_2D_array()
364 …srcImageInfo.num_mip_levels = (cl_uint) random_log_in_range(2, (int)compute_max_mip_levels(srcImag… in test_copy_image_set_2D_2D_array()
[all …]
Dtest_copy_2D_array.cpp86 …imageInfo.num_mip_levels = (cl_uint) random_log_in_range(2, (int)compute_max_mip_levels(imageInfo.… in test_copy_image_set_2D_array()
129 …imageInfo.num_mip_levels = (cl_uint) random_log_in_range(2, (int)compute_max_mip_levels(imageInfo.… in test_copy_image_set_2D_array()
158 imageInfo.width = (size_t)random_log_in_range( 16, (int)maxWidth / 32, seed ); in test_copy_image_set_2D_array()
159 imageInfo.height = (size_t)random_log_in_range( 16, (int)maxHeight / 32, seed ); 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()
164 …imageInfo.num_mip_levels = (cl_uint) random_log_in_range(2, (int)compute_max_mip_levels(imageInfo.… in test_copy_image_set_2D_array()
Dtest_copy_3D_2D_array.cpp270 …dstImageInfo.num_mip_levels = (cl_uint) random_log_in_range(2, (int)compute_max_mip_levels(dstImag… in test_copy_image_set_3D_2D_array()
272 …srcImageInfo.num_mip_levels = (cl_uint) random_log_in_range(2, (int)compute_max_mip_levels(srcImag… in test_copy_image_set_3D_2D_array()
319 …dstImageInfo.num_mip_levels = (cl_uint) random_log_in_range(2, (int)compute_max_mip_levels(dstImag… in test_copy_image_set_3D_2D_array()
321 …srcImageInfo.num_mip_levels = (cl_uint) random_log_in_range(2, (int)compute_max_mip_levels(srcImag… in test_copy_image_set_3D_2D_array()
374 dstImageInfo.width = (size_t)random_log_in_range( 16, (int)maxWidth / 32, seed ); in test_copy_image_set_3D_2D_array()
375 dstImageInfo.height = (size_t)random_log_in_range( 16, (int)maxHeight / 32, seed ); 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()
377 srcImageInfo.width = (size_t)random_log_in_range( 16, (int)max3DWidth / 32, seed ); in test_copy_image_set_3D_2D_array()
378 … srcImageInfo.height = (size_t)random_log_in_range( 16, (int)max3DHeight / 32, seed ); in test_copy_image_set_3D_2D_array()
379 srcImageInfo.depth = (size_t)random_log_in_range( 16, (int)maxDepth / 32, seed ); in test_copy_image_set_3D_2D_array()
[all …]
Dtest_copy_2D.cpp139 …imageInfo.num_mip_levels = (cl_uint) random_log_in_range(2, (int)compute_max_mip_levels(imageInfo.… in test_copy_image_set_2D()
177 …imageInfo.num_mip_levels = (cl_uint) random_log_in_range(2, (int)compute_max_mip_levels(imageInfo.… in test_copy_image_set_2D()
204 imageInfo.width = (size_t)random_log_in_range( 16, (int)maxWidth / 32, seed ); in test_copy_image_set_2D()
205 imageInfo.height = (size_t)random_log_in_range( 16, (int)maxHeight / 32, seed ); in test_copy_image_set_2D()
209 …imageInfo.num_mip_levels = (cl_uint) random_log_in_range(2, (int)compute_max_mip_levels(imageInfo.… in test_copy_image_set_2D()
Dtest_copy_1D_array.cpp132 …imageInfo.num_mip_levels = (cl_uint) random_log_in_range(2, (int)compute_max_mip_levels(imageInfo.… in test_copy_image_set_1D_array()
171 …imageInfo.num_mip_levels = (cl_uint) random_log_in_range(2, (int)compute_max_mip_levels(imageInfo.… in test_copy_image_set_1D_array()
199 imageInfo.width = (size_t)random_log_in_range( 16, (int)maxWidth / 32, seed ); 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()
205 …imageInfo.num_mip_levels = (cl_uint) random_log_in_range(2, (int)compute_max_mip_levels(imageInfo.… in test_copy_image_set_1D_array()
Dtest_copy_1D.cpp126 …imageInfo.num_mip_levels = (cl_uint) random_log_in_range(2, (int)compute_max_mip_levels(imageInfo.… in test_copy_image_set_1D()
159 …imageInfo.num_mip_levels = (cl_uint) random_log_in_range(2, (int)compute_max_mip_levels(imageInfo.… in test_copy_image_set_1D()
186 imageInfo.width = (size_t)random_log_in_range( 16, (int)maxWidth / 32, seed ); in test_copy_image_set_1D()
190 …imageInfo.num_mip_levels = (cl_uint) random_log_in_range(2, (int)compute_max_mip_levels(imageInfo.… in test_copy_image_set_1D()
/external/OpenCL-CTS/test_conformance/images/samplerlessReads/
Dtest_read_3D.cpp307 imageInfo.width = (size_t)random_log_in_range( 16, (int)maxWidth / 32, seed ); in test_read_image_set_3D()
308 imageInfo.height = (size_t)random_log_in_range( 16, (int)maxHeight / 32, seed ); in test_read_image_set_3D()
309 imageInfo.depth = (size_t)random_log_in_range( 16, (int)maxDepth / 32, seed ); in test_read_image_set_3D()
316 size_t extraWidth = (int)random_log_in_range( 0, 64, seed ); in test_read_image_set_3D()
319 size_t extraHeight = (int)random_log_in_range( 0, 64, seed ); in test_read_image_set_3D()
Dtest_read_2D_array.cpp304 imageInfo.width = (size_t)random_log_in_range( 16, (int)maxWidth / 32, seed ); in test_read_image_set_2D_array()
305 imageInfo.height = (size_t)random_log_in_range( 16, (int)maxHeight / 32, seed ); 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()
313 size_t extraWidth = (int)random_log_in_range( 0, 64, seed ); in test_read_image_set_2D_array()
316 size_t extraHeight = (int)random_log_in_range( 0, 64, seed ); in test_read_image_set_2D_array()
/external/OpenCL-CTS/test_conformance/images/kernel_read_write/
Dtest_read_3D.cpp22 size_t DimSize = random_log_in_range(16, (int) maxDimSize/32, seed); in reduceImageSizeRange()
30 size_t DimSize = random_log_in_range(8, (int) maxDimSize/32, seed); in reduceImageDepth()
252 size_t extraWidth = (int)random_log_in_range( 0, 64, seed ); in test_read_image_set_3D()
255 size_t extraHeight = (int)random_log_in_range( 0, 64, seed ); in test_read_image_set_3D()
/external/OpenCL-CTS/test_conformance/images/clFillImage/
Dtest_fill_3D.cpp162 imageInfo.width = (size_t)random_log_in_range( 16, (int)maxWidth / 32, seed ); in test_fill_image_set_3D()
163 imageInfo.height = (size_t)random_log_in_range( 16, (int)maxHeight / 32, seed ); in test_fill_image_set_3D()
164 imageInfo.depth = (size_t)random_log_in_range( 16, (int)maxDepth / 32, seed ); in test_fill_image_set_3D()
Dtest_fill_2D_array.cpp180 imageInfo.width = (size_t)random_log_in_range( 16, (int)maxWidth / 64, seed ); in test_fill_image_set_2D_array()
181 imageInfo.height = (size_t)random_log_in_range( 16, (int)maxHeight / 64, seed ); 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()

12