/external/OpenCL-CTS/test_common/harness/ |
D | imageHelpers.h | 114 } image_descriptor; typedef 126 extern cl_ulong get_image_size( image_descriptor const *imageInfo ); 127 extern cl_ulong get_image_size_mb( image_descriptor const *imageInfo ); 129 extern char * generate_random_image_data( image_descriptor *imageInfo, BufferOwningPtr<char> &Owner… 131 extern int debug_find_vector_in_image( void *imagePtr, image_descriptor *imageInfo, 134 extern int debug_find_pixel_in_image( void *imagePtr, image_descriptor *imageInfo, 136 extern int debug_find_pixel_in_image( void *imagePtr, image_descriptor *imageInfo, 138 extern int debug_find_pixel_in_image( void *imagePtr, image_descriptor *imageInfo, 141 extern void copy_image_data( image_descriptor *srcImageInfo, image_descriptor *dstImageInfo, void *… 151 cl_ulong compute_mipmapped_image_size( image_descriptor imageInfo); [all …]
|
D | imageHelpers.cpp | 1155 cl_ulong get_image_size( image_descriptor const *imageInfo ) in get_image_size() 1192 cl_ulong get_image_size_mb( image_descriptor const *imageInfo ) in get_image_size_mb() 1225 char * generate_random_image_data( image_descriptor *imageInfo, BufferOwningPtr<char> &P, MTdata d ) in generate_random_image_data() 1373 void read_image_pixel_float( void *imageData, image_descriptor *imageInfo, in read_image_pixel_float() 1657 void read_image_pixel_float( void *imageData, image_descriptor *imageInfo, in read_image_pixel_float() 1663 …dth, size_t height, size_t depth, image_sampler_data *imageSampler, image_descriptor *imageInfo, i… in get_integer_coords() 1668 …dth, size_t height, size_t depth, image_sampler_data *imageSampler, image_descriptor *imageInfo, i… in get_integer_coords_offset() 1923 FloatPixel sample_image_pixel_float( void *imageData, image_descriptor *imageInfo, in sample_image_pixel_float() 1930 FloatPixel sample_image_pixel_float( void *imageData, image_descriptor *imageInfo, in sample_image_pixel_float() 1935 FloatPixel sample_image_pixel_float_offset( void *imageData, image_descriptor *imageInfo, in sample_image_pixel_float_offset() [all …]
|
/external/OpenCL-CTS/test_conformance/images/clFillImage/ |
D | test_fill_1D.cpp | 27 extern int test_fill_image_generic( cl_context context, cl_command_queue queue, image_descriptor *i… 31 int test_fill_image_size_1D( cl_context context, cl_command_queue queue, image_descriptor *imageInf… in test_fill_image_size_1D() 73 image_descriptor imageInfo = { 0 }; in test_fill_image_set_1D() 79 memset(&imageInfo, 0x0, sizeof(image_descriptor)); in test_fill_image_set_1D()
|
D | test_fill_2D.cpp | 27 extern int test_fill_image_generic( cl_context context, cl_command_queue queue, image_descriptor *i… 31 int test_fill_image_size_2D( cl_context context, cl_command_queue queue, image_descriptor *imageInf… in test_fill_image_size_2D() 75 image_descriptor imageInfo = { 0 }; in test_fill_image_set_2D() 81 memset(&imageInfo, 0x0, sizeof(image_descriptor)); in test_fill_image_set_2D()
|
D | test_fill_1D_array.cpp | 27 extern int test_fill_image_generic( cl_context context, cl_command_queue queue, image_descriptor *i… 31 int test_fill_image_size_1D_array( cl_context context, cl_command_queue queue, image_descriptor *im… in test_fill_image_size_1D_array() 75 image_descriptor imageInfo = { 0 }; in test_fill_image_set_1D_array() 81 memset(&imageInfo, 0x0, sizeof(image_descriptor)); in test_fill_image_set_1D_array()
|
D | test_fill_3D.cpp | 26 extern int test_fill_image_generic( cl_context context, cl_command_queue queue, image_descriptor *i… 30 int test_fill_image_3D( cl_context context, cl_command_queue queue, image_descriptor *imageInfo, Ex… in test_fill_image_3D() 76 image_descriptor imageInfo = { 0 }; in test_fill_image_set_3D() 83 memset(&imageInfo, 0x0, sizeof(image_descriptor)); in test_fill_image_set_3D()
|
D | test_fill_2D_array.cpp | 26 extern int test_fill_image_generic( cl_context context, cl_command_queue queue, image_descriptor *i… 30 static int test_fill_image_2D_array( cl_context context, cl_command_queue queue, image_descriptor *… in test_fill_image_2D_array() 76 image_descriptor imageInfo = { 0 }; in test_fill_image_set_2D_array() 83 memset(&imageInfo, 0x0, sizeof(image_descriptor)); in test_fill_image_set_2D_array()
|
D | test_fill_generic.cpp | 26 extern void read_image_pixel_float( void *imageData, image_descriptor *imageInfo, int x, int y, int… 35 …ntext context, cl_command_queue queue, BufferOwningPtr<char>& data, image_descriptor *imageInfo, i… in create_image() 237 static void fill_region_with_value( image_descriptor *imageInfo, void *imageValues, in fill_region_with_value() 267 int test_fill_image_generic( cl_context context, cl_command_queue queue, image_descriptor *imageInf… in test_fill_image_generic()
|
/external/OpenCL-CTS/test_conformance/images/clCopyImage/ |
D | test_copy_2D_2D_array.cpp | 27 …eneric( cl_context context, cl_command_queue queue, image_descriptor *srcImageInfo, image_descript… 30 static void set_image_dimensions( image_descriptor *imageInfo, size_t width, size_t height, size_t … in set_image_dimensions() 60 …_array( cl_context context, cl_command_queue queue, image_descriptor *srcImageInfo, image_descript… in test_copy_image_size_2D_2D_array() 65 image_descriptor *threeImage, *twoImage; in test_copy_image_size_2D_2D_array() 220 image_descriptor srcImageInfo = { 0 }; in test_copy_image_set_2D_2D_array() 221 image_descriptor dstImageInfo = { 0 }; in test_copy_image_set_2D_2D_array()
|
D | test_copy_2D_3D.cpp | 27 …eneric( cl_context context, cl_command_queue queue, image_descriptor *srcImageInfo, image_descript… 30 static void set_image_dimensions( image_descriptor *imageInfo, size_t width, size_t height, size_t … in set_image_dimensions() 56 …_2D_3D( cl_context context, cl_command_queue queue, image_descriptor *srcImageInfo, image_descript… in test_copy_image_size_2D_3D() 61 image_descriptor *threeImage, *twoImage; in test_copy_image_size_2D_3D() 224 image_descriptor srcImageInfo = { 0 }; in test_copy_image_set_2D_3D() 225 image_descriptor dstImageInfo = { 0 }; in test_copy_image_set_2D_3D()
|
D | test_copy_3D.cpp | 26 …eneric( cl_context context, cl_command_queue queue, image_descriptor *srcImageInfo, image_descript… 29 int test_copy_image_3D( cl_context context, cl_command_queue queue, image_descriptor *imageInfo, MT… in test_copy_image_3D() 50 image_descriptor imageInfo = { 0 }; in test_copy_image_set_3D()
|
D | test_copy_3D_2D_array.cpp | 27 …eneric( cl_context context, cl_command_queue queue, image_descriptor *srcImageInfo, image_descript… 30 static void set_image_dimensions( image_descriptor *imageInfo, size_t width, size_t height, size_t … in set_image_dimensions() 57 …_array( cl_context context, cl_command_queue queue, image_descriptor *srcImageInfo, image_descript… in test_copy_image_size_3D_2D_array() 62 image_descriptor *threeImage, *twoImage; in test_copy_image_size_3D_2D_array() 242 image_descriptor srcImageInfo = { 0 }; in test_copy_image_set_3D_2D_array() 243 image_descriptor dstImageInfo = { 0 }; in test_copy_image_set_3D_2D_array()
|
D | test_copy_1D.cpp | 26 …eneric( cl_context context, cl_command_queue queue, image_descriptor *srcImageInfo, image_descript… 29 int test_copy_image_size_1D( cl_context context, cl_command_queue queue, image_descriptor *imageInf… in test_copy_image_size_1D() 108 image_descriptor imageInfo = { 0 }; in test_copy_image_set_1D()
|
D | test_copy_2D_array.cpp | 26 …eneric( cl_context context, cl_command_queue queue, image_descriptor *srcImageInfo, image_descript… 29 int test_copy_image_2D_array( cl_context context, cl_command_queue queue, image_descriptor *imageIn… in test_copy_image_2D_array() 64 image_descriptor imageInfo = { 0 }; in test_copy_image_set_2D_array()
|
D | test_copy_1D_array.cpp | 26 …eneric( cl_context context, cl_command_queue queue, image_descriptor *srcImageInfo, image_descript… 29 int test_copy_image_size_1D_array( cl_context context, cl_command_queue queue, image_descriptor *im… in test_copy_image_size_1D_array() 113 image_descriptor imageInfo = { 0 }; in test_copy_image_set_1D_array()
|
D | test_copy_2D.cpp | 26 …eneric( cl_context context, cl_command_queue queue, image_descriptor *srcImageInfo, image_descript… 29 int test_copy_image_size_2D( cl_context context, cl_command_queue queue, image_descriptor *imageInf… in test_copy_image_size_2D() 120 image_descriptor imageInfo = { 0 }; in test_copy_image_set_2D()
|
D | test_copy_generic.cpp | 31 …ntext context, cl_command_queue queue, BufferOwningPtr<char>& data, image_descriptor *imageInfo, i… in create_image() 284 …eneric( cl_context context, cl_command_queue queue, image_descriptor *srcImageInfo, image_descript… in test_copy_image_generic() 646 …eneric( cl_context context, cl_command_queue queue, image_descriptor *srcImageInfo, image_descript… in test_copy_image_size_generic()
|
/external/OpenCL-CTS/test_conformance/images/clGetInfo/ |
D | test_1D.cpp | 23 extern int test_get_image_info_single( cl_context context, image_descriptor *imageInfo, MTdata d, c… 30 image_descriptor imageInfo = { 0 }; in test_get_image_info_1D() 42 memset(&imageInfo, 0x0, sizeof(image_descriptor)); in test_get_image_info_1D()
|
D | test_1D_2D_array.cpp | 23 extern int test_get_image_info_single( cl_context context, image_descriptor *imageInfo, MTdata d, c… 29 image_descriptor imageInfo = { 0 }; in test_get_image_info_1D_array() 40 memset(&imageInfo, 0x0, sizeof(image_descriptor)); in test_get_image_info_1D_array() 150 image_descriptor imageInfo = { 0 }; in test_get_image_info_2D_array() 162 memset(&imageInfo, 0x0, sizeof(image_descriptor)); in test_get_image_info_2D_array()
|
D | test_3D.cpp | 23 extern int test_get_image_info_single( cl_context context, image_descriptor *imageInfo, MTdata d, c… 29 image_descriptor imageInfo = { 0 }; in test_get_image_info_3D() 41 memset(&imageInfo, 0x0, sizeof(image_descriptor)); in test_get_image_info_3D()
|
D | test_2D.cpp | 24 int test_get_image_info_single( cl_context context, image_descriptor *imageInfo, MTdata d, cl_mem_f… in test_get_image_info_single() 269 image_descriptor imageInfo = { 0 }; in test_get_image_info_2D() 281 memset(&imageInfo, 0x0, sizeof(image_descriptor)); in test_get_image_info_2D()
|
/external/OpenCL-CTS/test_conformance/clcpp/images/ |
D | common.hpp | 147 image_descriptor create_image_descriptor(cl_image_desc &image_desc, cl_image_format *image_format) in create_image_descriptor() 149 image_descriptor image_info; in create_image_descriptor()
|
/external/OpenCL-CTS/test_conformance/images/kernel_image_methods/ |
D | test_3D.cpp | 23 extern int test_get_image_info_single( cl_context context, cl_command_queue queue, image_descriptor… 29 image_descriptor imageInfo = { 0 }; in test_get_image_info_3D()
|
D | test_1D.cpp | 50 …et_1Dimage_info_single( cl_context context, cl_command_queue queue, image_descriptor *imageInfo, M… in test_get_1Dimage_info_single() 150 image_descriptor imageInfo = { 0 }; in test_get_image_info_1D()
|
/external/OpenCL-CTS/test_conformance/images/kernel_read_write/ |
D | test_iterations.cpp | 88 extern void read_image_pixel_float( void *imageData, image_descriptor *imageInfo, 90 template <class T> int determine_validation_error( void *imagePtr, image_descriptor *imageInfo, ima… in determine_validation_error() 295 static void InitFloatCoords( image_descriptor *imageInfo, image_sampler_data *imageSampler, float *… in InitFloatCoords() 348 static void InitFloatCoords( image_descriptor *imageInfo, image_sampler_data *imageSampler, float *… in InitFloatCoords() 412 …, int &numTries, int &numClamped, image_sampler_data *imageSampler, image_descriptor *imageInfo, s… in validate_image_2D_depth_results() 564 …, int &numTries, int &numClamped, image_sampler_data *imageSampler, image_descriptor *imageInfo, s… in validate_image_2D_results() 962 …, int &numTries, int &numClamped, image_sampler_data *imageSampler, image_descriptor *imageInfo, s… in validate_image_2D_sRGB_results() 1164 bool validate_float_write_results( float *expected, float *actual, image_descriptor *imageInfo ) in validate_float_write_results() 1184 bool validate_half_write_results( cl_half *expected, cl_half *actual, image_descriptor *imageInfo ) in validate_half_write_results() 1204 image_descriptor *imageInfo, image_sampler_data *imageSampler, in test_read_image_2D() [all …]
|