Home
last modified time | relevance | path

Searched refs:ExplicitType (Results 1 – 25 of 80) sorted by relevance

1234

/external/OpenCL-CTS/test_common/harness/
Dconversions.h51 typedef enum ExplicitTypes ExplicitType; typedef
68 extern void print_type_to_string(ExplicitType type, void *data, char *string);
69 extern size_t get_explicit_type_size(ExplicitType type);
70 extern const char *get_explicit_type_name(ExplicitType type);
72 ExplicitType inType, bool saturate,
74 ExplicitType outType);
76 extern void generate_random_data(ExplicitType type, size_t count, MTdata d,
78 extern void *create_random_data(ExplicitType type, MTdata d, size_t count);
80 extern cl_long read_upscale_signed(void *inRaw, ExplicitType inType);
81 extern cl_ulong read_upscale_unsigned(void *inRaw, ExplicitType inType);
[all …]
Dinteger_ops_test_info.h30 static const ExplicitType explicitType = kChar;
37 static const ExplicitType explicitType = kUChar;
44 static const ExplicitType explicitType = kShort;
51 static const ExplicitType explicitType = kUShort;
58 static const ExplicitType explicitType = kInt;
65 static const ExplicitType explicitType = kUInt;
72 static const ExplicitType explicitType = kLong;
79 static const ExplicitType explicitType = kULong;
/external/OpenCL-CTS/test_common/gl/
Dhelpers.h265 ExplicitType type, GLuint *outTextureID, int *outError,
270 ExplicitType type, GLuint *outTextureID, int *outError,
275 ExplicitType type, GLuint *outTex, GLuint *outBuf, int *outError,
281 ExplicitType type, GLuint *outTextureID,
287 ExplicitType type, GLuint *outTextureID,
294 ExplicitType type, GLuint *outTextureID,
301 ExplicitType type, GLuint *outTextureID,
309 ExplicitType type, GLuint *outTextureID,
316 GLenum glType, ExplicitType typeToReadAs,
328 ExplicitType type,
[all …]
/external/OpenCL-CTS/test_conformance/gles/
DtestBase.h53 extern const char *get_write_conversion( cl_image_format *format, ExplicitType type);
54 extern ExplicitType get_read_kernel_type( cl_image_format *format );
55 extern ExplicitType get_write_kernel_type( cl_image_format *format );
57 … convert_to_expected( void * inputBuffer, size_t numPixels, ExplicitType inType, ExplicitType outT…
Dtest_renderbuffer.cpp23 ExplicitType *outType, void **outSourceBuffer, MTdata d );
27 ExplicitType *outType, void **outResultBuffer );
30 …size_t imageWidth, size_t imageHeight, cl_image_format *outFormat, ExplicitType *outType, void **o… in test_attach_renderbuffer_read_image()
49 ExplicitType type, MTdata d ) in test_renderbuffer_read_image()
68 ExplicitType actualType; in test_renderbuffer_read_image()
121 ExplicitType type; in test_renderbuffer_read()
205 …size_t imageWidth, size_t imageHeight, cl_image_format *outFormat, ExplicitType *outType, MTdata d… in test_attach_renderbuffer_write_to_image()
224 ExplicitType type, MTdata d) in test_renderbuffer_image_write()
241 ExplicitType sourceType; in test_renderbuffer_image_write()
300 ExplicitType type; in test_renderbuffer_write()
Dtest_images_2D.cpp41 …size_t imageWidth, size_t imageHeight, cl_image_format *outFormat, ExplicitType *outType, void **o… in test_cl_image_read()
122 …size_t imageWidth, size_t imageHeight, cl_image_format *outFormat, ExplicitType *outType, void **o… in test_image_read()
144 GLenum glType, ExplicitType type, MTdata d ) in test_image_format_read()
166 ExplicitType actualType; in test_image_format_read()
205 ExplicitType type; in test_images_read()
287 ExplicitType type; in test_images_read_cube()
378 …size_t imageWidth, size_t imageHeight, cl_image_format *outFormat, ExplicitType *outType, void **o… in test_cl_image_write()
470 …size_t imageWidth, size_t imageHeight, cl_image_format *outFormat, ExplicitType *outType, void **o… in test_image_write()
494 GLenum glType, ExplicitType type, MTdata d ) in test_image_format_write()
515 ExplicitType sourceType; in test_image_format_write()
[all …]
Dtest_images_3D_info.cpp20 …h, size_t imageHeight, size_t imageDepth, cl_image_format *outFormat, ExplicitType *outType, void … in test_image_read()
49 GLenum glType, ExplicitType type, MTdata d ) in test_image_format_read()
71 ExplicitType actualType; in test_image_format_read()
85 ExplicitType type; in test_images_3D_getinfo()
Dtest_images_2D_info.cpp22 ExplicitType *outType, void **outResultBuffer ) in test_image_read()
48 GLenum glType, ExplicitType type, MTdata d ) in test_image_object_info()
70 ExplicitType actualType; in test_image_object_info()
90 ExplicitType type; in test_images_2D_getinfo()
173 ExplicitType type; in test_images_cube_getinfo()
Dtest_images_3D.cpp35 … cl_image_format *outFormat, ExplicitType *outType, void **outResultBuffer ) in test_image_read()
126 GLenum glType, ExplicitType type, MTdata d ) in test_image_format_read()
148 ExplicitType actualType; in test_image_format_read()
185 ExplicitType type; in test_images_read_3D()
Dtest_buffers.cpp44 void gen_input_data( ExplicitType type, size_t count, MTdata d, void *outData ) in gen_input_data()
110 void get_incremented_value( void *inData, void *outData, ExplicitType type ) in get_incremented_value()
128 int test_buffer_kernel(cl_context context, cl_command_queue queue, ExplicitType vecType, size_t vec… in test_buffer_kernel()
307ExplicitType vecType[] = { kChar, kUChar, kShort, kUShort, kInt, kUInt, kLong, kULong, kFloat, kNu… in test_buffers()
354ExplicitType vecType[] = { kChar, kUChar, kShort, kUShort, kInt, kUInt, kLong, kULong, kFloat, kNu… in test_buffers_getinfo()
Dhelpers.cpp45 ExplicitType get_read_kernel_type( cl_image_format *format ) in get_read_kernel_type()
70 ExplicitType get_write_kernel_type( cl_image_format *format ) in get_write_kernel_type()
103 const char* get_write_conversion( cl_image_format *format, ExplicitType type ) in get_write_conversion()
153 char * convert_to_expected( void * inputBuffer, size_t numPixels, ExplicitType inType, ExplicitType in convert_to_expected()
/external/OpenCL-CTS/test_conformance/images/samplerlessReads/
Dtest_loops.cpp26 ExplicitType outputType);
32 ExplicitType outputType);
37 ExplicitType outputType);
42 ExplicitType outputType);
47 ExplicitType outputType);
52 ExplicitType outputType);
57 ExplicitType outputType, cl_mem_object_type imageType) in test_read_image_type()
103 ExplicitType outputType, in test_read_image_formats()
/external/OpenCL-CTS/test_conformance/gl/
DtestBase.h45 extern const char *get_write_conversion( cl_image_format *format, ExplicitType type);
46 extern ExplicitType get_read_kernel_type( cl_image_format *format );
47 extern ExplicitType get_write_kernel_type( cl_image_format *format );
49 … convert_to_expected( void * inputBuffer, size_t numPixels, ExplicitType inType, ExplicitType outT…
Dtest_renderbuffer.cpp58 cl_image_format *outFormat, ExplicitType *outType, void **outSourceBuffer,
63 cl_image_format *outFormat, ExplicitType *outType, void **outResultBuffer );
68 …size_t imageWidth, size_t imageHeight, cl_image_format *outFormat, ExplicitType *outType, void **o… in test_attach_renderbuffer_read_image()
87 GLenum glType, ExplicitType type, MTdata d ) in test_renderbuffer_read_image()
115 ExplicitType actualType; in test_renderbuffer_read_image()
167 ExplicitType type; in test_renderbuffer_read()
269 …size_t imageWidth, size_t imageHeight, cl_image_format *outFormat, ExplicitType *outType, MTdata d… in test_attach_renderbuffer_write_to_image()
288 GLenum glType, ExplicitType type, MTdata d ) in test_renderbuffer_image_write()
315 ExplicitType sourceType; in test_renderbuffer_image_write()
316 ExplicitType validationType; in test_renderbuffer_image_write()
[all …]
Dtest_buffers.cpp41 void gen_input_data(ExplicitType type, size_t count, MTdata d, void *outData) in gen_input_data()
105 void get_incremented_value(void *inData, void *outData, ExplicitType type) in get_incremented_value()
123 ExplicitType vecType, size_t vecSize, int numElements, in test_buffer_kernel()
338 ExplicitType vecType[] = { in test_buffers()
374 ExplicitType vecType[] = { in test_buffers_getinfo()
/external/OpenCL-CTS/test_conformance/images/clFillImage/
Dtest_loops.cpp21 …ce, cl_context context, cl_command_queue queue, cl_image_format *format, ExplicitType outputType );
22 …ce, cl_context context, cl_command_queue queue, cl_image_format *format, ExplicitType outputType );
23 …ce, cl_context context, cl_command_queue queue, cl_image_format *format, ExplicitType outputType );
24 …ce, cl_context context, cl_command_queue queue, cl_image_format *format, ExplicitType outputType );
25 …ce, cl_context context, cl_command_queue queue, cl_image_format *format, ExplicitType outputType );
28 ExplicitType outputType);
/external/OpenCL-CTS/test_conformance/integer_ops/
Dtest_integers.cpp40 typedef bool (*singleParamIntegerVerifyFn)( void *source, void *destination, ExplicitType vecType );
41 …lts( void *outData, const void *inDataA, const void *inDataB, size_t count, ExplicitType vecType );
42 bool verify_integer_divideAssign( void *source, void *destination, ExplicitType vecType );
43 bool verify_integer_moduloAssign( void *source, void *destination, ExplicitType vecType );
46ExplicitType vecType, size_t vecSize, singleParamIntegerVerifyFn verifyFn, in test_single_param_integer_kernel()
223ExplicitType types[] = { kChar, kUChar, kShort, kUShort, kInt, kUInt, kLong, kULong, kNumExplicitT… in test_single_param_integer_fn()
247 bool verify_integer_clz( void *source, void *destination, ExplicitType vecType ) in verify_integer_clz()
340 bool verify_integer_ctz( void *source, void *destination, ExplicitType vecType ) in verify_integer_ctz()
457 … bool verify_integer_##opName##Assign( void *source, void *destination, ExplicitType vecType ) \
514 … bool verify_integer_##opName##Assign( void *source, void *destination, ExplicitType vecType ) \
[all …]
Dtest_upsample.cpp39 …ue, cl_context context, const char *fnName, ExplicitType sourceAType, ExplicitType sourceBType, Ex… in test_upsample_2_param_fn()
166 void * create_upsample_data( ExplicitType type, void *sourceA, void *sourceB, size_t count ) in create_upsample_data()
225 ExplicitType typesToTest[] = { kChar, kUChar, kShort, kUShort, kInt, kUInt, kNumExplicitTypes }; in test_integer_upsample()
226ExplicitType baseTypes[] = { kUChar, kUChar, kUShort, kUShort, kUInt, kUInt, kNumExplicitTypes }; in test_integer_upsample()
227 ExplicitType outTypes[] = { kShort, kUShort, kInt, kUInt, kLong, kULong, kNumExplicitTypes }; in test_integer_upsample()
/external/OpenCL-CTS/test_conformance/relationals/
Dtest_relationals.cpp41 typedef int (*anyAllVerifyFn)( ExplicitType vecType, unsigned int vecSize, void *inData );
44 const char *fnName, ExplicitType vecType, in test_any_all_kernel()
146 int anyVerifyFn( ExplicitType vecType, unsigned int vecSize, void *inData ) in anyVerifyFn()
190 ExplicitType vecType[] = { kChar, kShort, kInt, kLong }; in test_relational_any()
215 int allVerifyFn( ExplicitType vecType, unsigned int vecSize, void *inData ) in allVerifyFn()
259 ExplicitType vecType[] = { kChar, kShort, kInt, kLong }; in test_relational_all()
305 typedef void (*selectVerifyFn)( ExplicitType vecType, ExplicitType testVecType, unsigned int vecSiz…
308ExplicitType vecType, unsigned int vecSize, ExplicitType testVecType, selectVerifyFn verifyFn, MTd… in test_select_kernel()
489 void bitselect_verify_fn( ExplicitType vecType, ExplicitType testVecType, unsigned int vecSize, voi… in bitselect_verify_fn()
503ExplicitType vecType[] = { kChar, kUChar, kShort, kUShort, kInt, kUInt, kLong, kULong, kFloat, kDo… in test_relational_bitselect()
[all …]
/external/OpenCL-CTS/test_common/gles/
Dhelpers.h188 ExplicitType type, GLuint *outTextureID,
195 ExplicitType type, GLuint *outTextureID,
200 GLenum glType, ExplicitType typeToReadAs,
207 ExplicitType type,
222 ExplicitType typeToReadAs,
232 extern void* CreateRandomData( ExplicitType type, size_t count, MTdata d );
235 extern GLenum GetGLTypeForExplicitType(ExplicitType type);
237 extern ExplicitType GetExplicitTypeForGLType(GLenum type);
/external/OpenCL-CTS/test_conformance/images/kernel_read_write/
Dtest_loops.cpp29 bool floatCoords, ExplicitType outputType);
34 bool floatCoords, ExplicitType outputType);
39 bool floatCoords, ExplicitType outputType);
45 ExplicitType outputType);
51 ExplicitType outputType);
56 ExplicitType outputType, cl_mem_object_type imageType) in test_read_image_type()
171 ExplicitType outputType, in test_read_image_formats()
/external/OpenCL-CTS/test_conformance/basic/
Dtest_explicit_s2v.cpp110ExplicitType srcType, unsigned int count, ExplicitType destType, unsigned int vecSize, void *input… in test_explicit_s2v_function()
205 …nction_set(cl_device_id deviceID, cl_context context, cl_command_queue queue, ExplicitType srcType, in test_explicit_s2v_function_set()
224 if( strchr( get_explicit_type_name( (ExplicitType)srcType ), ' ' ) != NULL || in test_explicit_s2v_function_set()
225 strchr( get_explicit_type_name( (ExplicitType)dstType ), ' ' ) != NULL ) in test_explicit_s2v_function_set()
229 … srcType, count, (ExplicitType)dstType, sizes[ i ], inputData ) != 0 ) in test_explicit_s2v_function_set()
232 …pe_name(srcType), get_explicit_type_name((ExplicitType)dstType), sizes[i], get_explicit_type_name(… in test_explicit_s2v_function_set()
Dtest_vloadstore.cpp41 typedef void (*create_vload_program_fn)( char *destBuffer, size_t inBufferSize, ExplicitType type, …
43 int test_vload( cl_device_id device, cl_context context, cl_command_queue queue, ExplicitType type,… in test_vload()
206ExplicitType vecType[] = { kChar, kUChar, kShort, kUShort, kInt, kUInt, kLong, kULong, kFloat, kDo… in test_vloadset()
244 void create_global_load_code( char *destBuffer, size_t inBufferSize, ExplicitType type, size_t inVe… in create_global_load_code()
286 void create_local_load_code( char *destBuffer, size_t inBufferSize, ExplicitType type, size_t inVec… in create_local_load_code()
374 void create_constant_load_code( char *destBuffer, size_t inBufferSize, ExplicitType type, size_t in… in create_constant_load_code()
429 void create_private_load_code( char *destBuffer, size_t inBufferSize, ExplicitType type, size_t inV… in create_private_load_code()
506 typedef void (*create_vstore_program_fn)( char *destBuffer, size_t inBufferSize, ExplicitType type,…
508 int test_vstore( cl_device_id device, cl_context context, cl_command_queue queue, ExplicitType type… in test_vstore()
728ExplicitType vecType[] = { kChar, kUChar, kShort, kUShort, kInt, kUInt, kLong, kULong, kFloat, kDo… in test_vstoreset()
[all …]
/external/OpenCL-CTS/test_conformance/images/
DtestBase.h71 ExplicitType outputType, cl_mem_object_type imageType);
77 ExplicitType outputType, cl_mem_object_type imageType);
82 ExplicitType outputType, cl_mem_object_type imageType);
/external/OpenCL-CTS/test_conformance/api/
Dtest_kernel_arg_multi_setup.cpp33 ExplicitType vec1Type, int vec1Size, in test_multi_arg_set()
34 ExplicitType vec2Type, int vec2Size, in test_multi_arg_set()
35 ExplicitType vec3Type, int vec3Size, MTdata d) in test_multi_arg_set()
206 ExplicitType types[] = { kChar, kShort, kInt, kFloat, kNumExplicitTypes }; in test_kernel_arg_multi_setup_exhaustive()
248 ExplicitType types[] = { kChar, kShort, kInt, kFloat, kNumExplicitTypes }; in test_kernel_arg_multi_setup_random()

1234