Home
last modified time | relevance | path

Searched refs:max_node (Results 1 – 11 of 11) sorted by relevance

/external/ltp/testcases/kernel/lib/
Dnuma_helper.c41 unsigned long max_node = 0; in get_max_node() local
43 max_node = numa_max_possible_node() + 1; in get_max_node()
45 return max_node; in get_max_node()
49 static void get_nodemask_allnodes(nodemask_t * nodemask, unsigned long max_node) in get_nodemask_allnodes() argument
51 unsigned long nodemask_size = max_node / 8; in get_nodemask_allnodes()
57 for (i = 0; i < (int)max_node; i++) { in get_nodemask_allnodes()
64 static int filter_nodemask_mem(nodemask_t * nodemask, unsigned long max_node) in filter_nodemask_mem() argument
67 unsigned long nodemask_size = max_node / 8; in filter_nodemask_mem()
81 max_node, 0, MPOL_F_MEMS_ALLOWED) < 0) { in filter_nodemask_mem()
92 for (i = 0; i < (int)max_node; i++) { in filter_nodemask_mem()
[all …]
/external/tensorflow/tensorflow/tools/graph_transforms/
Dquantize_weights.cc117 NodeDef max_node; in QuantizeWeights() local
118 max_node.set_op("Const"); in QuantizeWeights()
119 max_node.set_name(old_const_node.name() + "_quantized_max"); in QuantizeWeights()
120 SetNodeAttr("dtype", DT_FLOAT, &max_node); in QuantizeWeights()
123 SetNodeTensorAttr<float>("value", max_tensor, &max_node); in QuantizeWeights()
124 new_nodes->push_back(max_node); in QuantizeWeights()
133 AddNodeInput(max_node.name(), &dequantize_node); in QuantizeWeights()
Dfreeze_requantization_ranges.cc189 NodeDef* max_node = frozen_graph_def.mutable_node()->Add(); in FreezeRequantizationRanges() local
190 max_node->set_op("Const"); in FreezeRequantizationRanges()
191 max_node->set_name(node.name() + "/frozen_max"); in FreezeRequantizationRanges()
192 SetNodeAttr("dtype", DT_FLOAT, max_node); in FreezeRequantizationRanges()
195 SetNodeTensorAttr<float>("value", max_tensor, max_node); in FreezeRequantizationRanges()
196 inputs_to_rename[node.name() + ":1"] = max_node->name() + ":0"; in FreezeRequantizationRanges()
Dquantize_nodes.cc348 NodeDef max_node; in QuantizePlaceholders() local
349 max_node.set_op("Const"); in QuantizePlaceholders()
350 max_node.set_name(namespace_prefix + "/max"); in QuantizePlaceholders()
351 SetNodeAttr("dtype", DT_FLOAT, &max_node); in QuantizePlaceholders()
354 SetNodeTensorAttr<float>("value", max_tensor, &max_node); in QuantizePlaceholders()
355 *(placeholder_graph_def.mutable_node()->Add()) = max_node; in QuantizePlaceholders()
365 AddNodeInput(max_node.name(), &dequantize_node); in QuantizePlaceholders()
785 NodeDef max_node; in QuantizeNodes() local
786 max_node.set_op("Max"); in QuantizeNodes()
787 max_node.set_name(unique_input_name + "/max"); in QuantizeNodes()
[all …]
/external/ltp/testcases/kernel/syscalls/migrate_pages/
Dmigrate_pages03.c41 static int num_nodes, max_node; variable
65 max_node = LTP_ALIGN(get_max_node(), sizeof(unsigned long) * 8); in setup()
66 nodemask_size = max_node / 8; in setup()
90 max_node, 0)) in setup()
124 ret = tst_syscall(__NR_migrate_pages, 0, max_node, in migrate_test()
Dmigrate_pages02.c76 unsigned long nodemask_size, max_node; in migrate_to_node() local
82 max_node = LTP_ALIGN(get_max_node(), sizeof(unsigned long)*8); in migrate_to_node()
83 nodemask_size = max_node / 8; in migrate_to_node()
93 TEST(tst_syscall(__NR_migrate_pages, pid, max_node, old_nodes, in migrate_to_node()
/external/mesa3d/src/gallium/drivers/lima/ir/gp/
Dscheduler.c669 new_node->node.sched.max_node = node->sched.max_node; in create_replacement()
675 node->sched.max_node = false; in create_replacement()
953 if (node->sched.max_node) { in spill_node()
954 node->sched.max_node = false; in spill_node()
1037 store->node.sched.max_node = false; in try_spill_node()
1095 if (!gpir_is_input_node(node) || !node->sched.max_node) in try_spill_nodes()
1116 !(node->sched.max_node || node->sched.next_max_node)) in try_spill_nodes()
1236 node->sched.max_node = (min_end_move == ctx->instr->index); in sched_find_max_nodes()
1241 if (node->sched.max_node) in sched_find_max_nodes()
1263 if (node->sched.max_node) in verify_max_nodes()
[all …]
Dinstr.c104 int max_reduce_slot = node->sched.max_node ? 1 : 0; in gpir_instr_insert_alu_check()
176 if (node->sched.max_node) in gpir_instr_remove_alu()
Dgpir.h177 bool max_node, next_max_node; member
/external/ltp/testcases/kernel/hotplug/memory_hotplug/
Dcommands.c440 int nr_nodes = 0, max_node = gcp->numa_max_node; in get_current_nodeid_list() local
445 for (node = 0; node <= max_node; ++node) { in get_current_nodeid_list()
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/
Dgrpc_session_test.cc507 Node* max_node = test::graph::Reduce(&graph, "Max", fill_node, max_axes_node); in TEST() local
521 TF_CHECK_OK(session->Run({}, {max_node->name()}, {}, &outputs)); in TEST()