Home
last modified time | relevance | path

Searched defs:TypesIterator (Results 1 – 2 of 2) sorted by relevance

/aosp_15_r20/external/OpenCL-CTS/test_conformance/basic/
H A Dtest_int2fp.cpp50 template <bool int2fp> struct TypesIterator struct
52 TypesIterator(cl_device_id deviceID, cl_context context, in TypesIterator() argument
68 template <typename T> void generate_random_inputs(std::vector<T> &v) in generate_random_inputs()
116 template <typename Tx, typename Ty> static bool equal_value(Tx a, Ty b) in equal_value()
121 static bool equal_value_from_half(cl_short a, cl_half b) in equal_value_from_half()
126 static bool equal_value_to_half(cl_half a, cl_short b) in equal_value_to_half()
133 int verify_X2Y(std::vector<Tx> input, std::vector<Ty> output) in verify_X2Y()
166 template <typename Tx, typename Ty> int test_X2Y() in test_X2Y()
232 template <typename T> bool skip_type() in skip_type()
241 template <std::size_t Cnt = 0, typename T> void iterate_type(const T &t) in iterate_type()
[all …]
H A Dtest_fpmath.cpp155 struct TypesIterator struct
159 TypesIterator(cl_device_id deviceID, cl_context context, in TypesIterator() function
181 template <typename T> int test_fpmath(TestDef<T> &test) in test_fpmath()
297 template <typename T> int test_fpmath_common() in test_fpmath_common()
320 template <typename T> bool skip_type() in skip_type()
330 void iterate_type(const Type &t) in iterate_type()
345 for_each_elem( in for_each_elem()
378 TypesIterator(device, context, queue, num_elements); in test_fpmath() argument