Home
last modified time | relevance | path

Searched refs:test_params (Results 1 – 25 of 32) sorted by relevance

12

/external/llvm-project/llvm/test/CodeGen/NVPTX/
Dwmma.py304 test_params = params
305 test_params["intrinsic"] = Template(intrinsic_template).substitute(params)
306 test_params["function"] = test_params["intrinsic"].replace(".","_")
307 test_params["instruction"] = Template(instruction_template).substitute(params)
308 test_params["ret_ty"] = make_wmma_ld_ret_ty(frag)
309 test_params["check_result"] = check_pattern(frag)
312 test_params["extra_args"] = ", i32 %stride";
313 test_params["stride_pattern"] = ", %r{{[0-9]+}}"
315 test_params["extra_args"] = ""
316 test_params["stride_pattern"] = ""
[all …]
/external/OpenCL-CTS/test_conformance/subgroups/
Dsubgroup_common_templates.h69 static void gen(Ty *x, Ty *t, cl_int *m, const WorkGroupParams &test_params) in gen()
72 int ng = test_params.global_workgroup_size; in gen()
73 int nw = test_params.local_workgroup_size; in gen()
74 int ns = test_params.subgroup_size; in gen()
176 const WorkGroupParams &test_params) in chk()
179 int ng = test_params.global_workgroup_size; in chk()
180 int nw = test_params.local_workgroup_size; in chk()
181 int ns = test_params.subgroup_size; in chk()
444 static void gen(Ty *x, Ty *t, cl_int *m, const WorkGroupParams &test_params) in gen()
447 int nw = test_params.local_workgroup_size; in gen()
[all …]
Dtest_barrier.cpp63 const WorkGroupParams &test_params) in gen()
66 int nw = test_params.local_workgroup_size; in gen()
67 int ns = test_params.subgroup_size; in gen()
68 int ng = test_params.global_workgroup_size; in gen()
96 const WorkGroupParams &test_params) in chk()
99 int nw = test_params.local_workgroup_size; in chk()
100 int ns = test_params.subgroup_size; in chk()
101 int ng = test_params.global_workgroup_size; in chk()
160 WorkGroupParams test_params(global_work_size, local_work_size); in test_barrier_functions() local
161 test_params.use_core_subgroups = useCoreSubgroups; in test_barrier_functions()
[all …]
Dtest_subgroup_ballot.cpp26 static void gen(Ty *x, Ty *t, cl_int *m, const WorkGroupParams &test_params) in gen()
29 int gws = test_params.global_workgroup_size; in gen()
30 int lws = test_params.local_workgroup_size; in gen()
31 int sbs = test_params.subgroup_size; in gen()
41 const WorkGroupParams &test_params) in chk()
44 int gws = test_params.global_workgroup_size; in chk()
45 int lws = test_params.local_workgroup_size; in chk()
46 int sbs = test_params.subgroup_size; in chk()
107 static void gen(Ty *x, Ty *t, cl_int *m, const WorkGroupParams &test_params) in gen()
110 int gws = test_params.global_workgroup_size; in gen()
[all …]
Dtest_ifp.cpp229 const WorkGroupParams &test_params) in gen()
232 int nw = test_params.local_workgroup_size; in gen()
233 int ns = test_params.subgroup_size; in gen()
234 int ng = test_params.global_workgroup_size; in gen()
249 const WorkGroupParams &test_params) in chk()
252 int nw = test_params.local_workgroup_size; in chk()
253 int ns = test_params.subgroup_size; in chk()
254 int ng = test_params.global_workgroup_size; in chk()
293 WorkGroupParams test_params(global_work_size, local_work_size); in test_ifp() local
294 test_params.use_core_subgroups = useCoreSubgroups; in test_ifp()
[all …]
Dtest_subgroup_non_uniform_vote.cpp25 static void gen(T *x, T *t, cl_int *m, const WorkGroupParams &test_params) in gen()
28 int nw = test_params.local_workgroup_size; in gen()
29 int ns = test_params.subgroup_size; in gen()
30 int ng = test_params.global_workgroup_size; in gen()
31 uint32_t work_items_mask = test_params.work_items_mask; in gen()
44 test_params.global_workgroup_size, nw, ns, work_items_mask, in gen()
96 const WorkGroupParams &test_params) in chk()
99 int nw = test_params.local_workgroup_size; in chk()
100 int ns = test_params.subgroup_size; in chk()
101 int ng = test_params.global_workgroup_size; in chk()
[all …]
Dtest_subgroup.cpp28 const WorkGroupParams &test_params) in gen()
31 int ng = test_params.global_workgroup_size; in gen()
32 int nw = test_params.local_workgroup_size; in gen()
33 int ns = test_params.subgroup_size; in gen()
72 const WorkGroupParams &test_params) in chk()
75 int ng = test_params.global_workgroup_size; in chk()
76 int nw = test_params.local_workgroup_size; in chk()
77 int ns = test_params.subgroup_size; in chk()
183 WorkGroupParams test_params(global_work_size, local_work_size); in test_subgroup_functions() local
184 RunTestForType rft(device, context, queue, num_elements, test_params); in test_subgroup_functions()
Dtest_subgroup_clustered_reduce.cpp173 static void gen(Ty *x, Ty *t, cl_int *m, const WorkGroupParams &test_params) in gen()
175 int nw = test_params.local_workgroup_size; in gen()
176 int ns = test_params.subgroup_size; in gen()
177 int ng = test_params.global_workgroup_size; in gen()
186 const WorkGroupParams &test_params) in chk()
188 int nw = test_params.local_workgroup_size; in chk()
189 int ns = test_params.subgroup_size; in chk()
190 int ng = test_params.global_workgroup_size; in chk()
313 WorkGroupParams test_params(global_work_size, local_work_size, in test_subgroup_functions_clustered_reduce() local
315 RunTestForType rft(device, context, queue, num_elements, test_params); in test_subgroup_functions_clustered_reduce()
Dsubhelpers.h1240 const char *src, WorkGroupParams test_params)
1243 for (auto &mask : test_params.all_work_item_masks)
1245 test_params.work_items_mask = mask;
1247 test_params);
1253 const char *src, WorkGroupParams test_params)
1259 size_t global = test_params.global_workgroup_size;
1260 size_t local = test_params.local_workgroup_size;
1271 if (test_params.work_items_mask != 0)
1274 kernel_sstr << "0x" << std::hex << test_params.work_items_mask
1299 for (std::string extension : test_params.required_extensions)
[all …]
Dtest_subgroup_shuffle.cpp61 WorkGroupParams test_params(global_work_size, local_work_size, in test_subgroup_functions_shuffle() local
63 RunTestForType rft(device, context, queue, num_elements, test_params); in test_subgroup_functions_shuffle()
Dtest_subgroup_shuffle_relative.cpp64 WorkGroupParams test_params(global_work_size, local_work_size, in test_subgroup_functions_shuffle_relative() local
66 RunTestForType rft(device, context, queue, num_elements, test_params); in test_subgroup_functions_shuffle_relative()
Dtest_subgroup_extended_types.cpp67 WorkGroupParams test_params(global_work_size, local_work_size, in test_subgroup_functions_extended_types() local
69 RunTestForType rft(device, context, queue, num_elements, test_params); in test_subgroup_functions_extended_types()
Dtest_subgroup_non_uniform_arithmetic.cpp446 WorkGroupParams test_params(global_work_size, local_work_size, in test_subgroup_functions_non_uniform_arithmetic() local
448 RunTestForType rft(device, context, queue, num_elements, test_params); in test_subgroup_functions_non_uniform_arithmetic()
/external/linux-kselftest/tools/testing/selftests/net/
Dreuseport_bpf.c31 struct test_params { struct
152 static void build_recv_group(const struct test_params p, int fd[], uint16_t mod, in build_recv_group()
188 static void send_from(struct test_params p, uint16_t sport, char *buf, in send_from()
213 static void test_recv_order(const struct test_params p, int fd[], int mod) in test_recv_order()
273 static void test_reuseport_ebpf(struct test_params p) in test_reuseport_ebpf()
290 static void test_reuseport_cbpf(struct test_params p) in test_reuseport_cbpf()
307 static void test_extra_filter(const struct test_params p) in test_extra_filter()
339 static void test_filter_no_reuseport(const struct test_params p) in test_filter_no_reuseport()
466 test_reuseport_ebpf((struct test_params) { in main()
473 test_reuseport_ebpf((struct test_params) { in main()
[all …]
/external/tensorflow/tensorflow/c/experimental/saved_model/core/
Dsaved_variable_loading_test.cc63 auto& test_params = GetParam(); in TEST_P() local
64 DataType dtype = std::get<0>(test_params); in TEST_P()
65 TensorShape shape(std::get<1>(test_params)); in TEST_P()
79 auto& test_params = GetParam(); in TEST_P() local
80 DataType dtype = std::get<0>(test_params); in TEST_P()
81 TensorShape shape(std::get<1>(test_params)); in TEST_P()
96 auto& test_params = GetParam(); in TEST_P() local
97 DataType dtype = std::get<0>(test_params); in TEST_P()
98 TensorShape shape(std::get<1>(test_params)); in TEST_P()
113 auto& test_params = GetParam(); in TEST_P() local
[all …]
Dconstant_loading_test.cc54 auto& test_params = GetParam(); in TEST_P() local
55 DataType dtype = std::get<0>(test_params); in TEST_P()
56 TensorShape shape(std::get<1>(test_params)); in TEST_P()
57 bool tensorproto_use_tensor_content = std::get<2>(test_params); in TEST_P()
/external/tensorflow/tensorflow/python/keras/
Dcombinations_test.py36 test_params = []
47 test_params.append((mode, should_run_eagerly))
56 self.assertLen(test_params, 3)
57 self.assertAllEqual(test_params, [
66 self.assertLen(test_params, 6)
68 self.assertLen(test_params, 2)
69 self.assertAllEqual(test_params, [
77 self.assertLen(test_params, 4)
/external/tensorflow/tensorflow/compiler/xla/tests/
Dcholesky_test.cc227 auto test_params = GetParam(); in XLA_TEST_P() local
228 std::vector<int64> dimensions = {std::get<0>(test_params), in XLA_TEST_P()
229 std::get<1>(test_params), in XLA_TEST_P()
230 std::get<1>(test_params)}; in XLA_TEST_P()
231 bool lower = std::get<2>(test_params); in XLA_TEST_P()
266 auto test_params = GetParam(); in XLA_TEST_P() local
267 std::vector<int64> dimensions = {std::get<0>(test_params), in XLA_TEST_P()
268 std::get<1>(test_params), in XLA_TEST_P()
269 std::get<1>(test_params)}; in XLA_TEST_P()
270 bool lower = std::get<2>(test_params); in XLA_TEST_P()
Dprng_test.cc92 auto test_params = GetParam(); in XLA_TEST_P() local
93 UniformTest<bfloat16>(static_cast<bfloat16>(std::get<1>(test_params).first), in XLA_TEST_P()
94 static_cast<bfloat16>(std::get<1>(test_params).second), in XLA_TEST_P()
96 /*seed=*/std::get<0>(test_params)); in XLA_TEST_P()
/external/google-fruit/tests/
Dfruit_test_common.py254 def _replace_using_test_params(s, test_params): argument
255 for var_name, value in test_params.items():
260 def _construct_final_source_code(setup_source_code, source_code, test_params): argument
263 source_code = _replace_using_test_params(source_code, test_params)
283 test_params={}, argument
286 source_code = _construct_final_source_code(setup_source_code, source_code, test_params)
348 def expect_generic_compile_error(expected_error_regex, setup_source_code, source_code, test_params=… argument
366 expected_error_regex = _replace_using_test_params(expected_error_regex, test_params)
386 expect_compile_error_helper(check_error, setup_source_code, source_code, test_params)
393 test_params={}, argument
[all …]
/external/autotest/server/cros/clique_lib/
Dclique_dut_control.py75 test_params=None, uid=""): argument
90 self._test_params = test_params
180 test_params=None): argument
192 conn_worker=conn_worker, test_params=test_params,
360 def __init__(self, dut_objs, test_params=None): argument
371 dut_objs=dut_objs, test_params=test_params, uid=uid)
522 conn_workers, test_params, num_runs=1): argument
569 dut, assoc_params, conn_worker, test_params)
571 dut_set_control_obj = CliqueDUTSet(dut_control_objs, test_params)
573 dut_pool_control_obj = CliqueDUTPool(dut_set_control_objs, test_params)
/external/tensorflow/tensorflow/lite/testing/
Dtoco_convert.py102 test_params = kwargs.get("test_params", {})
106 fully_quantize = test_params.get("fully_quantize", False)
107 dynamic_range_quantize = test_params.get("dynamic_range_quantize", False)
123 min_value, max_value = test_params.get("input_range", (-1, 1))
139 if test_params.get("quant_16x8", False):
157 if test_params.get("quant_16x8", False):
/external/autotest/server/site_tests/network_WiFi_CliqueLongConnect/
Dnetwork_WiFi_CliqueLongConnect.py50 test_params = { 'capturer': capturer,
56 test_params)
/external/autotest/server/site_tests/network_WiFi_CliqueConnectDisconnect/
Dnetwork_WiFi_CliqueConnectDisconnect.py52 test_params = { 'capturer': capturer,
58 test_params)
/external/python/setuptools/setuptools/tests/
Dtest_egg_info.py191 test_params = test.lstrip().split('\n\n', 3)
192 name_kwargs = test_params.pop(0).split('\n')
200 DALS(a).format(**format_dict) for a in test_params

12