/external/OpenCL-CTS/test_conformance/images/clCopyImage/ |
D | test_copy_generic.cpp | 285 … const size_t sourcePos[], const size_t destPos[], const size_t regionSize[], MTdata d ) in test_copy_image_generic() argument 472 …%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() 478 …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() 484 …error = clEnqueueCopyImage( queue, srcImage, dstImage, sourcePos, destPos, regionSize, 0, NULL, NU… in test_copy_image_generic() 488 …(int)sourcePos[ 0 ], (int)sourcePos[ 1 ], (int)sourcePos[ 2 ], (int)destPos[ 0 ], (int)destPos[ 1 … in test_copy_image_generic() 497 copy_image_data( srcImageInfo, dstImageInfo, srcHost, dstHost, sourcePos, destPos, regionSize ); in test_copy_image_generic() 648 size_t sourcePos[ 3 ], destPos[ 3 ], regionSize[ 3 ]; in test_copy_image_size_generic() local 656 sourcePos[ 0 ] = random_in_range( 0, (int)(srcImageInfo->width - 4), d ); in test_copy_image_size_generic() 657 sourcePos[ 1 ] = 1; in test_copy_image_size_generic() 658 sourcePos[ 2 ] = 1; in test_copy_image_size_generic() [all …]
|
D | test_copy_3D_2D_array.cpp | 28 … const size_t sourcePos[], const size_t destPos[], const size_t regionSize[], MTdata d ); 59 size_t sourcePos[ 4 ], destPos[ 4 ], regionSize[ 3 ]; in test_copy_image_size_3D_2D_array() local 99 sourcePos[ 0 ] = sourcePos[ 1 ] = sourcePos[ 2 ] = 0; in test_copy_image_size_3D_2D_array() 108 sourcePos[ 2 ] = (size_t)random_in_range( 0, (int)srcImageInfo->depth - 1, d ); in test_copy_image_size_3D_2D_array() 112 sourcePos[ 2 ] = 0/*(size_t)random_in_range( 0, (int)depth_lod - 1, d )*/; in test_copy_image_size_3D_2D_array() 114 sourcePos[ 3 ] = threeImage_lod; in test_copy_image_size_3D_2D_array() 124 sourcePos[ 2 ] = (size_t)random_in_range( 0, (int)srcImageInfo->arraySize - 1, d ); in test_copy_image_size_3D_2D_array() 129 …sourcePos[ 2 ] = ( twoImage->arraySize > depth_lod ) ? (size_t)random_in_range( 0, twoImage->array… in test_copy_image_size_3D_2D_array() 130 sourcePos[ 3 ] = twoImage_lod; in test_copy_image_size_3D_2D_array() 138 …retCode = test_copy_image_generic( context, queue, srcImageInfo, dstImageInfo, sourcePos, destPos,… in test_copy_image_size_3D_2D_array() [all …]
|
D | test_copy_2D_3D.cpp | 28 … const size_t sourcePos[], const size_t destPos[], const size_t regionSize[], MTdata d ); 58 size_t sourcePos[ 4 ] = { 0 }, destPos[ 4 ] = { 0 }, regionSize[ 3 ]; in test_copy_image_size_2D_3D() local 101 sourcePos[ 0 ] = sourcePos[ 1 ] = sourcePos[ 2 ] = sourcePos[ 3 ] = 0; in test_copy_image_size_2D_3D() 114 sourcePos[ 2 ] = twoImage_lod; in test_copy_image_size_2D_3D() 123 sourcePos[ 2 ] = (size_t)random_in_range( 0, (int)srcImageInfo->depth - 1, d ); in test_copy_image_size_2D_3D() 126 sourcePos[ 2 ] = (size_t)random_in_range( 0, (int)depth_lod - 1, d ); in test_copy_image_size_2D_3D() 127 sourcePos[ 3 ] = threeImage_lod; in test_copy_image_size_2D_3D() 134 …retCode = test_copy_image_generic( context, queue, srcImageInfo, dstImageInfo, sourcePos, destPos,… in test_copy_image_size_2D_3D() 166 …sourcePos[ 0 ] = ( srcImageInfo->width > regionSize[ 0 ] ) ? (size_t)random_in_range( 0, (int)( sr… in test_copy_image_size_2D_3D() 167 …sourcePos[ 1 ] = ( srcImageInfo->height > regionSize[ 1 ] ) ? (size_t)random_in_range( 0, (int)( s… in test_copy_image_size_2D_3D() [all …]
|
D | test_copy_2D_2D_array.cpp | 28 … const size_t sourcePos[], const size_t destPos[], const size_t regionSize[], MTdata d ); 62 size_t sourcePos[ 4 ] = { 0 }, destPos[ 4 ] = { 0 }, regionSize[ 3 ]; in test_copy_image_size_2D_2D_array() local 104 sourcePos[ 0 ] = sourcePos[ 1 ] = sourcePos[ 2 ] = sourcePos[ 3 ] = 0; in test_copy_image_size_2D_2D_array() 116 sourcePos[ 2 ] = twoImage_lod; in test_copy_image_size_2D_2D_array() 125 sourcePos[ 2 ] = (size_t)random_in_range( 0, (int)srcImageInfo->arraySize - 1, d ); in test_copy_image_size_2D_2D_array() 128 sourcePos[ 3 ] = threeImage_lod; in test_copy_image_size_2D_2D_array() 135 …retCode = test_copy_image_generic( context, queue, srcImageInfo, dstImageInfo, sourcePos, destPos,… in test_copy_image_size_2D_2D_array() 166 …sourcePos[ 0 ] = ( srcImageInfo->width > regionSize[ 0 ] ) ? (size_t)random_in_range( 0, (int)( sr… in test_copy_image_size_2D_2D_array() 167 …sourcePos[ 1 ] = ( srcImageInfo->height > regionSize[ 1 ] ) ? (size_t)random_in_range( 0, (int)( s… in test_copy_image_size_2D_2D_array() 168 …sourcePos[ 2 ] = ( srcImageInfo->arraySize > 0 ) ? (size_t)random_in_range( 0, (int)( srcImageInfo… in test_copy_image_size_2D_2D_array() [all …]
|
D | test_copy_1D_array.cpp | 27 … const size_t sourcePos[], const size_t destPos[], const size_t regionSize[], MTdata d ); 31 size_t sourcePos[ 3 ], destPos[ 3 ], regionSize[ 3 ]; in test_copy_image_size_1D_array() local 52 sourcePos[ 0 ] = sourcePos[ 1 ] = sourcePos[ 2 ] = 0; in test_copy_image_size_1D_array() 60 sourcePos[ 2 ] = src_lod; in test_copy_image_size_1D_array() 65 …retCode = test_copy_image_generic( context, queue, imageInfo, imageInfo, sourcePos, destPos, regio… in test_copy_image_size_1D_array() 82 sourcePos[ 2 ] = src_lod; in test_copy_image_size_1D_array() 90 …sourcePos[ 0 ] = ( width_lod > regionSize[ 0 ] ) ? (size_t)random_in_range( 0, (int)( width_lod - … in test_copy_image_size_1D_array() 91 …sourcePos[ 1 ] = ( imageInfo->arraySize > regionSize[ 1 ] ) ? (size_t)random_in_range( 0, (int)( i… in test_copy_image_size_1D_array() 99 …retCode = test_copy_image_generic( context, queue, imageInfo, imageInfo, sourcePos, destPos, regio… in test_copy_image_size_1D_array()
|
D | test_copy_2D.cpp | 27 … const size_t sourcePos[], const size_t destPos[], const size_t regionSize[], MTdata d ); 31 size_t sourcePos[ 3 ], destPos[ 3 ], regionSize[ 3 ]; in test_copy_image_size_2D() local 57 sourcePos[ 0 ] = sourcePos[ 1 ] = sourcePos[ 2 ] = 0; in test_copy_image_size_2D() 65 sourcePos[ 2 ] = src_lod; in test_copy_image_size_2D() 71 …retCode = test_copy_image_generic( context, queue, imageInfo, imageInfo, sourcePos, destPos, regio… in test_copy_image_size_2D() 91 sourcePos[ 2 ] = src_lod; in test_copy_image_size_2D() 99 …sourcePos[ 0 ] = ( width_lod > regionSize[ 0 ] ) ? (size_t)random_in_range( 0, (int)( width_lod - … in test_copy_image_size_2D() 100 …sourcePos[ 1 ] = ( height_lod > regionSize[ 1 ] ) ? (size_t)random_in_range( 0, (int)( height_lod … in test_copy_image_size_2D() 106 …retCode = test_copy_image_generic( context, queue, imageInfo, imageInfo, sourcePos, destPos, regio… in test_copy_image_size_2D()
|
D | test_copy_1D.cpp | 27 … const size_t sourcePos[], const size_t destPos[], const size_t regionSize[], MTdata d ); 31 size_t sourcePos[ 3 ], destPos[ 3 ], regionSize[ 3 ]; in test_copy_image_size_1D() local 52 sourcePos[ 0 ] = sourcePos[ 1 ] = sourcePos[ 2 ] = 0; in test_copy_image_size_1D() 60 sourcePos[ 1 ] = src_lod; in test_copy_image_size_1D() 65 …retCode = test_copy_image_generic( context, queue, imageInfo, imageInfo, sourcePos, destPos, regio… in test_copy_image_size_1D() 82 sourcePos[ 1 ] = src_lod; in test_copy_image_size_1D() 89 …sourcePos[ 0 ] = ( width_lod > regionSize[ 0 ] ) ? (size_t)random_in_range( 0, (int)( width_lod - … in test_copy_image_size_1D() 94 …retCode = test_copy_image_generic( context, queue, imageInfo, imageInfo, sourcePos, destPos, regio… in test_copy_image_size_1D()
|
D | test_copy_3D.cpp | 27 … const size_t sourcePos[], const size_t destPos[], const size_t regionSize[], MTdata d );
|
D | test_copy_2D_array.cpp | 27 … const size_t sourcePos[], const size_t destPos[], const size_t regionSize[], MTdata d );
|
/external/OpenCL-CTS/test_common/harness/ |
D | imageHelpers.cpp | 3431 const size_t sourcePos[], const size_t destPos[], const size_t regionSize[] ) in copy_image_data() argument 3442 sourcePos_lod[0] = sourcePos[0]; in copy_image_data() 3443 sourcePos_lod[1] = sourcePos[1]; in copy_image_data() 3444 sourcePos_lod[2] = sourcePos[2]; in copy_image_data() 3462 src_lod = sourcePos[1]; in copy_image_data() 3468 src_lod = sourcePos[2]; in copy_image_data() 3469 sourcePos_lod[1] = sourcePos[1]; in copy_image_data() 3477 src_lod = sourcePos[3]; in copy_image_data() 3478 sourcePos_lod[1] = sourcePos[1]; in copy_image_data() 3479 sourcePos_lod[2] = sourcePos[2]; in copy_image_data()
|
D | imageHelpers.h | 142 … const size_t sourcePos[], const size_t destPos[], const size_t regionSize[] );
|
/external/sonic/ |
D | Sonic.java | 66 int sourcePos, in move() argument 70 dest[destPos*numChannels + xSample] = source[sourcePos*numChannels + xSample]; in move()
|