/external/OpenCL-CTS/test_conformance/mem_host_flags/ |
D | C_host_memory_block.h | 174 size_t slice_pitch = host_slice_pitch ? host_row_pitch : region[1]; in Equal_rect() local 181 size_t orig = (size_t)(soffset[0] + row_pitch*soffset[1] + slice_pitch * soffset[2]); in Equal_rect() 186 int p1 = (int)(x + row_pitch*y + slice_pitch* z + orig); in Equal_rect() 202 size_t slice_pitch = host_slice_pitch ? host_row_pitch : region[1]; in Equal_rect_from_orig() local 209 size_t orig = soffset[0] + row_pitch * soffset[1] + slice_pitch * soffset[2]; in Equal_rect_from_orig() 214 size_t p1 = x + (row_pitch*y) + (slice_pitch*z); in Equal_rect_from_orig() 231 size_t slice_pitch = host_slice_pitch ? host_row_pitch : region[1]; in Equal_rect_from_orig() local 238 size_t orig = soffset[0] + row_pitch*soffset[1] + slice_pitch * soffset[2]; in Equal_rect_from_orig() 243 size_t p1 = x + (row_pitch * y) + (slice_pitch * z); in Equal_rect_from_orig()
|
D | checker_image_mem_host_read_only.hpp | 125 size_t slice_pitch = m_cl_Image_desc.image_slice_pitch ? m_cl_Image_desc.image_slice_pitch : in get_image_data_size() local 127 return (slice_pitch * m_cl_Image_desc.image_depth * m_cl_Image_desc.image_array_size); in get_image_data_size()
|
/external/mesa3d/src/gallium/frontends/clover/core/ |
D | memory.cpp | 158 size_t row_pitch, size_t slice_pitch, size_t size, in image() argument 162 _row_pitch(row_pitch), _slice_pitch(slice_pitch) { in image() 229 image::slice_pitch() const { in slice_pitch() function in image 249 size_t row_pitch, size_t slice_pitch, in image3d() argument 252 row_pitch, slice_pitch, depth * slice_pitch, in image3d()
|
D | memory.hpp | 130 size_t row_pitch, size_t slice_pitch, size_t size, 140 size_t slice_pitch() const; 177 size_t row_pitch, size_t slice_pitch,
|
/external/OpenCL-CTS/test_conformance/images/clGetInfo/ |
D | test_2D.cpp | 24 …, image_descriptor *imageInfo, MTdata d, cl_mem_flags flags, size_t row_pitch, size_t slice_pitch ) in test_get_image_info_single() argument 46 imageDesc.image_slice_pitch = slice_pitch; in test_get_image_info_single() 57 …p...\n", (int)imageInfo->width, (unsigned long)flags, (int)row_pitch, (int)slice_pitch, host_ptr ); in test_get_image_info_single() 61 …>width, (int)imageInfo->height, (unsigned long)flags, (int)row_pitch, (int)slice_pitch, host_ptr ); in test_get_image_info_single() 66 …>height, (int)imageInfo->depth, (unsigned long)flags, (int)row_pitch, (int)slice_pitch, host_ptr ); in test_get_image_info_single() 71 …dth, (int)imageInfo->arraySize, (unsigned long)flags, (int)row_pitch, (int)slice_pitch, host_ptr ); in test_get_image_info_single() 76 …ght, (int)imageInfo->arraySize, (unsigned long)flags, (int)row_pitch, (int)slice_pitch, host_ptr ); in test_get_image_info_single()
|
D | test_1D.cpp | 23 … image_descriptor *imageInfo, MTdata d, cl_mem_flags flags, size_t row_pitch, size_t slice_pitch );
|
D | test_3D.cpp | 23 … image_descriptor *imageInfo, MTdata d, cl_mem_flags flags, size_t row_pitch, size_t slice_pitch );
|
D | test_1D_2D_array.cpp | 23 … image_descriptor *imageInfo, MTdata d, cl_mem_flags flags, size_t row_pitch, size_t slice_pitch );
|
/external/OpenCL-CTS/test_conformance/basic/ |
D | test_bufferreadwriterect.cpp | 93 size_t slice_pitch) in check_overlap_rect() argument 110 size_t dst_start = dst_offset[2] * slice_pitch + dst_offset[1] * row_pitch + dst_offset[0]; in check_overlap_rect() 111 size_t dst_end = dst_start + (region[2] * slice_pitch + in check_overlap_rect() 113 size_t src_start = src_offset[2] * slice_pitch + src_offset[1] * row_pitch + src_offset[0]; in check_overlap_rect() 114 size_t src_end = src_start + (region[2] * slice_pitch + in check_overlap_rect() 125 … size_t src_height = slice_pitch / row_pitch; size_t dst_height = slice_pitch / row_pitch; in check_overlap_rect()
|
/external/mesa3d/src/gallium/frontends/clover/api/ |
D | memory.cpp | 214 const size_t slice_pitch = desc->image_slice_pitch ? in clCreateImage() local 220 slice_pitch, host_ptr); in clCreateImage() 254 size_t row_pitch, size_t slice_pitch, in clCreateImage3D() argument 257 row_pitch, slice_pitch, 0, 0, NULL }; in clCreateImage3D() 373 buf.as_scalar<size_t>() = img.slice_pitch(); in clGetImageInfo()
|
D | transfer.cpp | 586 size_t row_pitch, size_t slice_pitch, void *ptr, in clEnqueueReadImage() argument 594 row_pitch, slice_pitch }}); in clEnqueueReadImage() 597 img.row_pitch(), img.slice_pitch() }}); in clEnqueueReadImage() 623 size_t row_pitch, size_t slice_pitch, const void *ptr, in clEnqueueWriteImage() argument 632 img.row_pitch(), img.slice_pitch() }}); in clEnqueueWriteImage() 634 row_pitch, slice_pitch }}); in clEnqueueWriteImage() 738 src_img.slice_pitch() }}); in clEnqueueCopyImageToBuffer() 772 dst_img.slice_pitch() }}); in clEnqueueCopyBufferToImage() 828 size_t *row_pitch, size_t *slice_pitch, in clEnqueueMapImage() argument 844 if (img.slice_pitch() && !slice_pitch) in clEnqueueMapImage() [all …]
|
/external/mesa3d/include/CL/ |
D | cl2.hpp | 5121 size_type slice_pitch = 0, in Image3D() argument 5151 slice_pitch, in Image3D() 5173 slice_pitch, host_ptr, &error); in Image3D() 7737 size_type slice_pitch, 7751 slice_pitch, 7770 size_type slice_pitch, 7784 slice_pitch, 8024 size_type * slice_pitch, 8035 row_pitch, slice_pitch, 9608 size_type slice_pitch, [all …]
|
D | cl.hpp | 4240 ::size_t slice_pitch = 0, in Image3D() argument 4270 slice_pitch, in Image3D() 4292 slice_pitch, host_ptr, &error); in Image3D() 5950 ::size_t slice_pitch, in enqueueReadImage() argument 5959 (const ::size_t *) region, row_pitch, slice_pitch, ptr, in enqueueReadImage() 5977 ::size_t slice_pitch, in enqueueWriteImage() argument 5986 (const ::size_t *) region, row_pitch, slice_pitch, ptr, in enqueueWriteImage() 6213 ::size_t * slice_pitch, in enqueueMapImage() argument 6223 row_pitch, slice_pitch, in enqueueMapImage() 7056 ::size_t slice_pitch, in enqueueReadImage() argument [all …]
|
D | cl.h | 1608 size_t slice_pitch,
|
D | cl_icd.h | 532 size_t slice_pitch, void *ptr, cl_uint num_events_in_wait_list,
|
/external/OpenCL-CTS/test_common/harness/ |
D | imageHelpers.cpp | 2314 size_t slice_pitch; in debug_find_vector_in_image() local 2346 slice_pitch = row_pitch * height; in debug_find_vector_in_image() 2370 iPtr += slice_pitch - ( height * row_pitch ); in debug_find_vector_in_image()
|
/external/mesa3d/docs/relnotes/ |
D | 20.3.0.rst | 4436 - clover: clCreateImage: calculate image row_pitch and slice_pitch when not provided
|