Home
last modified time | relevance | path

Searched refs:sourcePos (Results 1 – 13 of 13) sorted by relevance

/external/OpenCL-CTS/test_conformance/images/clCopyImage/
Dtest_copy_3D_2D_array.cpp20 … const size_t sourcePos[], const size_t destPos[], const size_t regionSize[], MTdata d );
51 size_t sourcePos[ 4 ], destPos[ 4 ], regionSize[ 3 ]; in test_copy_image_size_3D_2D_array() local
91 sourcePos[ 0 ] = sourcePos[ 1 ] = sourcePos[ 2 ] = 0; in test_copy_image_size_3D_2D_array()
100 sourcePos[ 2 ] = (size_t)random_in_range( 0, (int)srcImageInfo->depth - 1, d ); in test_copy_image_size_3D_2D_array()
104 sourcePos[ 2 ] = 0/*(size_t)random_in_range( 0, (int)depth_lod - 1, d )*/; in test_copy_image_size_3D_2D_array()
106 sourcePos[ 3 ] = threeImage_lod; in test_copy_image_size_3D_2D_array()
116 sourcePos[ 2 ] = (size_t)random_in_range( 0, (int)srcImageInfo->arraySize - 1, d ); in test_copy_image_size_3D_2D_array()
121sourcePos[ 2 ] = ( twoImage->arraySize > depth_lod ) ? (size_t)random_in_range( 0, twoImage->array… in test_copy_image_size_3D_2D_array()
122 sourcePos[ 3 ] = twoImage_lod; in test_copy_image_size_3D_2D_array()
130 …retCode = test_copy_image_generic( context, queue, srcImageInfo, dstImageInfo, sourcePos, destPos,… in test_copy_image_size_3D_2D_array()
[all …]
Dtest_copy_2D_3D.cpp20 … const size_t sourcePos[], const size_t destPos[], const size_t regionSize[], MTdata d );
50 size_t sourcePos[ 4 ] = { 0 }, destPos[ 4 ] = { 0 }, regionSize[ 3 ]; in test_copy_image_size_2D_3D() local
93 sourcePos[ 0 ] = sourcePos[ 1 ] = sourcePos[ 2 ] = sourcePos[ 3 ] = 0; in test_copy_image_size_2D_3D()
106 sourcePos[ 2 ] = twoImage_lod; in test_copy_image_size_2D_3D()
115 sourcePos[ 2 ] = (size_t)random_in_range( 0, (int)srcImageInfo->depth - 1, d ); in test_copy_image_size_2D_3D()
118 sourcePos[ 2 ] = (size_t)random_in_range( 0, (int)depth_lod - 1, d ); in test_copy_image_size_2D_3D()
119 sourcePos[ 3 ] = threeImage_lod; in test_copy_image_size_2D_3D()
126 …retCode = test_copy_image_generic( context, queue, srcImageInfo, dstImageInfo, sourcePos, destPos,… in test_copy_image_size_2D_3D()
158sourcePos[ 0 ] = ( srcImageInfo->width > regionSize[ 0 ] ) ? (size_t)random_in_range( 0, (int)( sr… in test_copy_image_size_2D_3D()
159sourcePos[ 1 ] = ( srcImageInfo->height > regionSize[ 1 ] ) ? (size_t)random_in_range( 0, (int)( s… in test_copy_image_size_2D_3D()
[all …]
Dtest_copy_1D.cpp19 … const size_t sourcePos[], const size_t destPos[], const size_t regionSize[], MTdata d );
23 size_t sourcePos[ 3 ], destPos[ 3 ], regionSize[ 3 ]; in test_copy_image_size_1D() local
44 sourcePos[ 0 ] = sourcePos[ 1 ] = sourcePos[ 2 ] = 0; in test_copy_image_size_1D()
52 sourcePos[ 1 ] = src_lod; in test_copy_image_size_1D()
57 …retCode = test_copy_image_generic( context, queue, imageInfo, imageInfo, sourcePos, destPos, regio… in test_copy_image_size_1D()
74 sourcePos[ 1 ] = src_lod; in test_copy_image_size_1D()
81sourcePos[ 0 ] = ( width_lod > regionSize[ 0 ] ) ? (size_t)random_in_range( 0, (int)( width_lod - … in test_copy_image_size_1D()
86 …retCode = test_copy_image_generic( context, queue, imageInfo, imageInfo, sourcePos, destPos, regio… in test_copy_image_size_1D()
Dtest_copy_2D_2D_array.cpp20 … const size_t sourcePos[], const size_t destPos[], const size_t regionSize[], MTdata d );
54 size_t sourcePos[ 4 ] = { 0 }, destPos[ 4 ] = { 0 }, regionSize[ 3 ]; in test_copy_image_size_2D_2D_array() local
96 sourcePos[ 0 ] = sourcePos[ 1 ] = sourcePos[ 2 ] = sourcePos[ 3 ] = 0; in test_copy_image_size_2D_2D_array()
108 sourcePos[ 2 ] = twoImage_lod; in test_copy_image_size_2D_2D_array()
117 sourcePos[ 2 ] = (size_t)random_in_range( 0, (int)srcImageInfo->arraySize - 1, d ); in test_copy_image_size_2D_2D_array()
120 sourcePos[ 3 ] = threeImage_lod; in test_copy_image_size_2D_2D_array()
127 …retCode = test_copy_image_generic( context, queue, srcImageInfo, dstImageInfo, sourcePos, destPos,… in test_copy_image_size_2D_2D_array()
158sourcePos[ 0 ] = ( srcImageInfo->width > regionSize[ 0 ] ) ? (size_t)random_in_range( 0, (int)( sr… in test_copy_image_size_2D_2D_array()
159sourcePos[ 1 ] = ( srcImageInfo->height > regionSize[ 1 ] ) ? (size_t)random_in_range( 0, (int)( s… in test_copy_image_size_2D_2D_array()
160sourcePos[ 2 ] = ( srcImageInfo->arraySize > 0 ) ? (size_t)random_in_range( 0, (int)( srcImageInfo… in test_copy_image_size_2D_2D_array()
[all …]
Dtest_copy_2D.cpp19 … const size_t sourcePos[], const size_t destPos[], const size_t regionSize[], MTdata d );
23 size_t sourcePos[ 3 ], destPos[ 3 ], regionSize[ 3 ]; in test_copy_image_size_2D() local
49 sourcePos[ 0 ] = sourcePos[ 1 ] = sourcePos[ 2 ] = 0; in test_copy_image_size_2D()
57 sourcePos[ 2 ] = src_lod; in test_copy_image_size_2D()
63 …retCode = test_copy_image_generic( context, queue, imageInfo, imageInfo, sourcePos, destPos, regio… in test_copy_image_size_2D()
83 sourcePos[ 2 ] = src_lod; in test_copy_image_size_2D()
91sourcePos[ 0 ] = ( width_lod > regionSize[ 0 ] ) ? (size_t)random_in_range( 0, (int)( width_lod - … in test_copy_image_size_2D()
92sourcePos[ 1 ] = ( height_lod > regionSize[ 1 ] ) ? (size_t)random_in_range( 0, (int)( height_lod … in test_copy_image_size_2D()
98 …retCode = test_copy_image_generic( context, queue, imageInfo, imageInfo, sourcePos, destPos, regio… in test_copy_image_size_2D()
Dtest_copy_1D_array.cpp19 … const size_t sourcePos[], const size_t destPos[], const size_t regionSize[], MTdata d );
23 size_t sourcePos[ 3 ], destPos[ 3 ], regionSize[ 3 ]; in test_copy_image_size_1D_array() local
44 sourcePos[ 0 ] = sourcePos[ 1 ] = sourcePos[ 2 ] = 0; in test_copy_image_size_1D_array()
52 sourcePos[ 2 ] = src_lod; in test_copy_image_size_1D_array()
57 …retCode = test_copy_image_generic( context, queue, imageInfo, imageInfo, sourcePos, destPos, regio… in test_copy_image_size_1D_array()
74 sourcePos[ 2 ] = src_lod; in test_copy_image_size_1D_array()
82sourcePos[ 0 ] = ( width_lod > regionSize[ 0 ] ) ? (size_t)random_in_range( 0, (int)( width_lod - … in test_copy_image_size_1D_array()
83sourcePos[ 1 ] = ( imageInfo->arraySize > regionSize[ 1 ] ) ? (size_t)random_in_range( 0, (int)( i… in test_copy_image_size_1D_array()
91 …retCode = test_copy_image_generic( context, queue, imageInfo, imageInfo, sourcePos, destPos, regio… in test_copy_image_size_1D_array()
Dtest_copy_generic.cpp294 … const size_t sourcePos[], const size_t destPos[], const size_t regionSize[], MTdata d ) in test_copy_image_generic() argument
451 …%d to %d,%d,%d,%d size %d,%d,%d\n", (int)sourcePos[ 0 ], (int)sourcePos[ 1 ], (int)sourcePos[ 2 ],… in test_copy_image_generic()
457 …g from %d,%d,%d to %d,%d,%d size %d,%d,%d\n", (int)sourcePos[ 0 ], (int)sourcePos[ 1 ], (int)sourc… in test_copy_image_generic()
463 …error = clEnqueueCopyImage( queue, srcImage, dstImage, sourcePos, destPos, regionSize, 0, NULL, NU… in test_copy_image_generic()
467 …(int)sourcePos[ 0 ], (int)sourcePos[ 1 ], (int)sourcePos[ 2 ], (int)destPos[ 0 ], (int)destPos[ 1 … in test_copy_image_generic()
476 copy_image_data( srcImageInfo, dstImageInfo, srcHost, dstHost, sourcePos, destPos, regionSize ); in test_copy_image_generic()
Dtest_copy_3D.cpp20 … const size_t sourcePos[], const size_t destPos[], const size_t regionSize[], MTdata d );
Dtest_copy_2D_array.cpp20 … const size_t sourcePos[], const size_t destPos[], const size_t regionSize[], MTdata d );
/external/OpenCL-CTS/test_common/harness/
DimageHelpers.cpp3478 void *destImageValues, const size_t sourcePos[], in copy_image_data() argument
3490 sourcePos_lod[0] = sourcePos[0]; in copy_image_data()
3491 sourcePos_lod[1] = sourcePos[1]; in copy_image_data()
3492 sourcePos_lod[2] = sourcePos[2]; in copy_image_data()
3510 src_lod = sourcePos[1]; in copy_image_data()
3518 src_lod = sourcePos[2]; in copy_image_data()
3519 sourcePos_lod[1] = sourcePos[1]; in copy_image_data()
3531 src_lod = sourcePos[3]; in copy_image_data()
3532 sourcePos_lod[1] = sourcePos[1]; in copy_image_data()
3533 sourcePos_lod[2] = sourcePos[2]; in copy_image_data()
DimageHelpers.h178 void *destImageValues, const size_t sourcePos[],
/external/sonic/
DSonic.java66 int sourcePos, in move() argument
70 dest[destPos*numChannels + xSample] = source[sourcePos*numChannels + xSample]; in move()
/external/llvm-project/mlir/lib/Conversion/StandardToLLVM/
DStandardToLLVM.cpp3579 int sourcePos = en.index(); in matchAndRewrite() local
3582 viewMemRef.size(rewriter, loc, sourcePos)); in matchAndRewrite()
3584 viewMemRef.stride(rewriter, loc, sourcePos)); in matchAndRewrite()