Home
last modified time | relevance | path

Searched refs:ExplicitType (Results 1 – 25 of 84) 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_conformance/relationals/
Dtest_relationals.cpp47 typedef int (*anyAllVerifyFn)( ExplicitType vecType, unsigned int vecSize, void *inData );
50 const char *fnName, ExplicitType vecType, in test_any_all_kernel()
160 int anyVerifyFn( ExplicitType vecType, unsigned int vecSize, void *inData ) in anyVerifyFn()
204 ExplicitType vecType[] = { kChar, kShort, kInt, kLong }; in test_relational_any()
229 int allVerifyFn( ExplicitType vecType, unsigned int vecSize, void *inData ) in allVerifyFn()
273 ExplicitType vecType[] = { kChar, kShort, kInt, kLong }; in test_relational_all()
325 typedef void (*selectVerifyFn)( ExplicitType vecType, ExplicitType testVecType, unsigned int vecSiz…
328ExplicitType vecType, unsigned int vecSize, ExplicitType testVecType, selectVerifyFn verifyFn, MTd… in test_select_kernel()
517 void bitselect_verify_fn( ExplicitType vecType, ExplicitType testVecType, unsigned int vecSize, voi… in bitselect_verify_fn()
531 constexpr ExplicitType vecType[] = { kChar, kUChar, kShort, kUShort, in test_relational_bitselect()
[all …]
/external/OpenCL-CTS/test_conformance/gles/
DtestBase.h52 extern const char *get_write_conversion( cl_image_format *format, ExplicitType type);
53 extern ExplicitType get_read_kernel_type( cl_image_format *format );
54 extern ExplicitType get_write_kernel_type( cl_image_format *format );
56 … 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()
/external/OpenCL-CTS/test_common/gl/
Dhelpers.h264 ExplicitType type, GLuint *outTextureID, int *outError,
269 ExplicitType type, GLuint *outTextureID, int *outError,
274 ExplicitType type, GLuint *outTex, GLuint *outBuf, int *outError,
280 ExplicitType type, GLuint *outTextureID,
286 ExplicitType type, GLuint *outTextureID,
293 ExplicitType type, GLuint *outTextureID,
300 ExplicitType type, GLuint *outTextureID,
308 ExplicitType type, GLuint *outTextureID,
315 GLenum glType, ExplicitType typeToReadAs,
327 ExplicitType type,
[all …]
/external/OpenCL-CTS/test_conformance/gl/
DtestBase.h45 ExplicitType type);
46 extern ExplicitType get_read_kernel_type(cl_image_format *format);
47 extern ExplicitType get_write_kernel_type(cl_image_format *format);
50 ExplicitType inType, ExplicitType outType,
Dtest_renderbuffer.cpp57 ExplicitType *outType, void **outSourceBuffer,
63 cl_image_format *outFormat, ExplicitType *outType,
71 cl_image_format *outFormat, ExplicitType *outType, void **outResultBuffer) in test_attach_renderbuffer_read_image()
93 ExplicitType type, MTdata d) in test_renderbuffer_read_image()
124 ExplicitType actualType; in test_renderbuffer_read_image()
192 ExplicitType type; in test_renderbuffer_read()
301 cl_image_format *outFormat, ExplicitType *outType, MTdata d, in test_attach_renderbuffer_write_to_image()
324 ExplicitType type, MTdata d) in test_renderbuffer_image_write()
354 ExplicitType sourceType; in test_renderbuffer_image_write()
355 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/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/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_common/gles/
Dhelpers.h187 ExplicitType type, GLuint *outTextureID,
194 ExplicitType type, GLuint *outTextureID,
199 GLenum glType, ExplicitType typeToReadAs,
206 ExplicitType type,
221 ExplicitType typeToReadAs,
231 extern void* CreateRandomData( ExplicitType type, size_t count, MTdata d );
234 extern GLenum GetGLTypeForExplicitType(ExplicitType type);
236 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.cpp109 typedef void (*create_program_fn)(std::string &, size_t, ExplicitType, size_t,
111 typedef int (*test_fn)(cl_device_id, cl_context, cl_command_queue, ExplicitType,
115 ExplicitType type, unsigned int vecSize, in test_vload()
284 std::vector<ExplicitType> vecType = { kChar, kUChar, kShort, kUShort, in test_vset()
326 ExplicitType type, size_t inVectorSize, in create_global_load_code()
352 ExplicitType type, size_t inVectorSize, in create_local_load_code()
392 ExplicitType type, size_t inVectorSize, in create_constant_load_code()
428 ExplicitType type, size_t inVectorSize, in create_private_load_code()
463 ExplicitType type, unsigned int vecSize, in test_vstore()
679 ExplicitType type, size_t inVectorSize, in create_global_store_code()
[all …]
Dtest_astype.cpp51 …ce_id device, cl_context context, cl_command_queue queue, ExplicitType inVecType, ExplicitType out… in test_astype_set()
188 const std::vector<ExplicitType> vecTypes = { kChar, kUChar, kShort, in test_astype()
200 auto skip_type = [&](ExplicitType et) { in test_astype()
/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/swiftshader/third_party/llvm-16.0/llvm/include/llvm/Bitcode/
DBitcodeCommon.h27 using ExplicitType = Bitfield::Element<bool, UsedWithInAlloca::NextBit, 1>; member
28 using SwiftError = Bitfield::Element<bool, ExplicitType::NextBit, 1>;
/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