Home
last modified time | relevance | path

Searched refs:kUShort (Results 1 – 25 of 34) sorted by relevance

12

/external/OpenCL-CTS/test_common/harness/
Dconversions.cpp46 case kUShort: in print_type_to_string()
423 case kUShort: in convert_explicit_value()
463 SIMPLE_CAST_CASE(char, kUShort, ushort) in convert_explicit_value()
495 SIMPLE_CAST_CASE(uchar, kUShort, ushort) in convert_explicit_value()
527 SIMPLE_CAST_CASE(uchar, kUShort, ushort) in convert_explicit_value()
559 DOWN_CAST_CASE(short, kUShort, ushort, saturate) in convert_explicit_value()
578 case kUShort: in convert_explicit_value()
584 case kUShort: in convert_explicit_value()
616 case kUShort: in convert_explicit_value()
656 DOWN_CAST_CASE(int, kUShort, ushort, saturate) in convert_explicit_value()
[all …]
Dconversions.h37 kUShort, enumerator
/external/OpenCL-CTS/test_conformance/gl/
Dcommon.h44 { GL_RGBA16, GL_RGBA, GL_UNSIGNED_SHORT, kUShort },
49 { GL_RGBA16UI_EXT, GL_RGBA_INTEGER_EXT, GL_UNSIGNED_SHORT, kUShort },
57 { GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT, GL_UNSIGNED_SHORT, kUShort },
Dtest_buffers.cpp60 TYPE_CASE( kUShort, ushort, 65530, 0 ) in gen_input_data()
114 INC_CASE( kUShort, ushort ) in get_incremented_value()
301 …ExplicitType vecType[] = { kChar, kUChar, kShort, kUShort, kInt, kUInt, kLong, kULong, kFloat, kNu… in test_buffers()
329 …ExplicitType vecType[] = { kChar, kUChar, kShort, kUShort, kInt, kUInt, kLong, kULong, kFloat, kNu… in test_buffers_getinfo()
Dtest_renderbuffer.cpp173 { GL_RGBA16, GL_RGBA, GL_UNSIGNED_SHORT, kUShort }, in test_renderbuffer_read()
184 { GL_RGBA16UI_EXT, GL_RGBA_INTEGER_EXT, GL_UNSIGNED_SHORT, kUShort }, in test_renderbuffer_read()
390 { GL_RGBA16, GL_RGBA, GL_UNSIGNED_SHORT, kUShort }, in test_renderbuffer_write()
401 { GL_RGBA16UI_EXT, GL_RGBA_INTEGER_EXT, GL_UNSIGNED_SHORT, kUShort }, in test_renderbuffer_write()
Dhelpers.cpp107 return kUShort; in get_write_kernel_type()
282 else if( inType == kUShort ) in convert_to_expected()
341 DOWNSCALE_INTEGER_CASE( kUShort, ushort, 16 ) in convert_to_expected()
389 UPSCALE_FLOAT_CASE( kUShort, ushort, 65535.f ) in convert_to_expected()
Dtest_renderbuffer_info.cpp66 { GL_RGBA16, GL_RGBA, GL_UNSIGNED_SHORT, kUShort }, in test_renderbuffer_getinfo()
/external/OpenCL-CTS/test_conformance/integer_ops/
Dtest_integers.cpp228 …ExplicitType types[] = { kChar, kUChar, kShort, kUShort, kInt, kUInt, kLong, kULong, kNumExplicitT… in test_single_param_integer_fn()
272 case kUShort: in verify_integer_clz()
317 case kUShort: in verify_integer_clz()
365 case kUShort: in verify_integer_ctz()
410 case kUShort: in verify_integer_ctz()
452 OP_CASE( op, kUShort, ushort ) \
509 OP_CASE_GUARD( op, kUShort, ushort ) \
564 case kUShort: in patchup_divide_results()
777 …ExplicitType types[] = { kChar, kUChar, kShort, kUShort, kInt, kUInt, kLong, kULong, kNumExplicitT… in test_two_param_integer_fn()
803 …ExplicitType types[] = { kChar, kUChar, kShort, kUShort, kInt, kUInt, kLong, kULong, kNumExplicitT… in test_two_param_unmatched_integer_fn()
[all …]
Dtest_upsample.cpp225 ExplicitType typesToTest[] = { kChar, kUChar, kShort, kUShort, kInt, kUInt, kNumExplicitTypes }; in test_integer_upsample()
226 … ExplicitType 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()
Dtest_int_basic_ops.cpp142 kUShort,
224 case kUShort: in perThreadDataInit()
646 case kUShort: in test_integer_ops()
710 case kUShort: in test_integer_ops()
1116 return run_test_math(deviceID, context, queue, num_elements, kUShort, LONG_MATH_SHIFT_SIZE); in test_ushort_math()
1119 return run_test_logic(deviceID, context, queue, num_elements, kUShort, LONG_MATH_SHIFT_SIZE); in test_ushort_logic()
1122 return run_test_shift(deviceID, context, queue, num_elements, kUShort, LONG_MATH_SHIFT_SIZE); in test_ushort_shift()
1125 return run_test_compare(deviceID, context, queue, num_elements, kUShort, LONG_MATH_SHIFT_SIZE); in test_ushort_compare()
1128 return run_test_math(deviceID, context, queue, num_elements, kUShort, QUICK_MATH_SHIFT_SIZE); in test_quick_ushort_math()
1131 return run_test_logic(deviceID, context, queue, num_elements, kUShort, QUICK_MATH_SHIFT_SIZE); in test_quick_ushort_logic()
[all …]
Dtest_unary_ops.cpp173 …ExplicitType types[] = { kChar, kUChar, kShort, kUShort, kInt, kUInt, kLong, kULong, kNumExplicitT… in test_unary_op_set()
/external/OpenCL-CTS/test_conformance/gles/
Dtest_images_2D.cpp209 { GL_RGBA, GL_RGBA, GL_UNSIGNED_SHORT, kUShort }, in test_images_read()
292 { GL_RGBA, GL_RGBA, GL_UNSIGNED_SHORT, kUShort }, in test_images_read_cube()
298 { GL_RGBA16, GL_RGBA, GL_UNSIGNED_SHORT, kUShort }, in test_images_read_cube()
303 { GL_RGBA16UI_EXT, GL_RGBA_INTEGER_EXT, GL_UNSIGNED_SHORT, kUShort }, in test_images_read_cube()
572 { GL_RGBA, GL_RGBA, GL_UNSIGNED_SHORT, kUShort }, in test_images_write()
578 { GL_RGBA16, GL_RGBA, GL_UNSIGNED_SHORT, kUShort }, in test_images_write()
583 { GL_RGBA16UI_EXT, GL_RGBA_INTEGER_EXT, GL_UNSIGNED_SHORT, kUShort }, in test_images_write()
671 { GL_RGBA, GL_RGBA, GL_UNSIGNED_SHORT, kUShort }, in test_images_write_cube()
677 { GL_RGBA16, GL_RGBA, GL_UNSIGNED_SHORT, kUShort }, in test_images_write_cube()
682 { GL_RGBA16UI_EXT, GL_RGBA_INTEGER_EXT, GL_UNSIGNED_SHORT, kUShort }, in test_images_write_cube()
Dtest_images_2D_info.cpp94 { GL_RGBA, GL_RGBA, GL_UNSIGNED_SHORT, kUShort }, in test_images_2D_getinfo()
178 { GL_RGBA, GL_RGBA, GL_UNSIGNED_SHORT, kUShort }, in test_images_cube_getinfo()
184 { GL_RGBA16, GL_RGBA, GL_UNSIGNED_SHORT, kUShort }, in test_images_cube_getinfo()
189 { GL_RGBA16UI_EXT, GL_RGBA_INTEGER_EXT, GL_UNSIGNED_SHORT, kUShort }, in test_images_cube_getinfo()
Dtest_images_3D_info.cpp90 { GL_RGBA, GL_RGBA, GL_UNSIGNED_SHORT, kUShort }, in test_images_3D_getinfo()
102 { GL_RGBA16, GL_RGBA, GL_UNSIGNED_SHORT, kUShort }, in test_images_3D_getinfo()
107 { GL_RGBA16UI_EXT, GL_RGBA_INTEGER_EXT, GL_UNSIGNED_SHORT, kUShort }, in test_images_3D_getinfo()
Dhelpers.cpp95 return kUShort; in get_write_kernel_type()
256 else if( inType == kUShort ) in convert_to_expected()
315 DOWNSCALE_INTEGER_CASE( kUShort, ushort, 16 ) in convert_to_expected()
341 UPSCALE_FLOAT_CASE( kUShort, ushort, 65535.f ) in convert_to_expected()
Dtest_buffers.cpp63 TYPE_CASE( kUShort, ushort, 65530, 0 ) in gen_input_data()
117 INC_CASE( kUShort, ushort ) in get_incremented_value()
308 …ExplicitType vecType[] = { kChar, kUChar, kShort, kUShort, kInt, kUInt, kLong, kULong, kFloat, kNu… in test_buffers()
355 …ExplicitType vecType[] = { kChar, kUChar, kShort, kUShort, kInt, kUInt, kLong, kULong, kFloat, kNu… in test_buffers_getinfo()
Dtest_images_3D.cpp190 { GL_RGBA, GL_RGBA, GL_UNSIGNED_SHORT, kUShort }, in test_images_read_3D()
196 { GL_RGBA16, GL_RGBA, GL_UNSIGNED_SHORT, kUShort }, in test_images_read_3D()
201 { GL_RGBA16UI_EXT, GL_RGBA_INTEGER_EXT, GL_UNSIGNED_SHORT, kUShort }, in test_images_read_3D()
/external/OpenCL-CTS/test_conformance/vectors/
Dglobals.cpp38 kChar, kUChar, kShort, kUShort, kInt, kUInt, kLong,
/external/OpenCL-CTS/test_conformance/relationals/
Dtest_relationals.cpp503 …ExplicitType vecType[] = { kChar, kUChar, kShort, kUShort, kInt, kUInt, kLong, kULong, kFloat, kDo… in test_relational_bitselect()
587 …ExplicitType vecType[] = { kChar, kUChar, kShort, kUShort, kInt, kUInt, kLong, kULong, kFloat, kDo… in test_relational_select_signed()
637 case kUShort: in select_unsigned_verify_fn()
657 case kUShort: in select_unsigned_verify_fn()
676 …ExplicitType vecType[] = { kChar, kUChar, kShort, kUShort, kInt, kUInt, kLong, kULong, kFloat, kDo… in test_relational_select_unsigned()
677 ExplicitType testVecType[] = { kUChar, kUShort, kUInt, kULong, kNumExplicitTypes }; in test_relational_select_unsigned()
/external/OpenCL-CTS/test_conformance/basic/
Dtest_vec_type_hint.cpp45 …ExplicitType vecType[] = { kChar, kUChar, kShort, kUShort, kInt, kUInt, kLong, kULong, kFloat, kDo… in test_vec_type_hint()
Dtest_explicit_s2v.cpp283 generate_random_data( kUShort, 128, seed, data ); in test_explicit_s2v_ushort()
285 if( test_explicit_s2v_function_set( deviceID, context, queue, kUShort, 128, data ) != 0 ) in test_explicit_s2v_ushort()
Dtest_async_copy.cpp236 …ExplicitType vecType[] = { kChar, kUChar, kShort, kUShort, kInt, kUInt, kLong, kULong, kFloat, kDo… in test_copy_all_types()
Dtest_astype.cpp226 …ExplicitType vecTypes[] = { kChar, kUChar, kShort, kUShort, kInt, kUInt, kLong, kULong, kFloat, kD… in test_astype()
Dtest_async_strided_copy.cpp232 …ExplicitType vecType[] = { kChar, kUChar, kShort, kUShort, kInt, kUInt, kLong, kULong, kFloat, kDo… in test_strided_copy_all_types()
/external/OpenCL-CTS/test_common/gles/
Dhelpers.cpp671 case kUShort: in GetGLTypeForExplicitType()
730 return kUShort; in GetExplicitTypeForGLType()
1004 case (kUShort): in CreateRandomData()

12