Home
last modified time | relevance | path

Searched refs:max_node (Results 1 – 9 of 9) 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.cc190 NodeDef* max_node = frozen_graph_def.mutable_node()->Add(); in FreezeRequantizationRanges() local
191 max_node->set_op("Const"); in FreezeRequantizationRanges()
192 max_node->set_name(node.name() + "/frozen_max"); in FreezeRequantizationRanges()
193 SetNodeAttr("dtype", DT_FLOAT, max_node); in FreezeRequantizationRanges()
196 SetNodeTensorAttr<float>("value", max_tensor, max_node); in FreezeRequantizationRanges()
197 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()
780 NodeDef max_node; in QuantizeNodes() local
781 max_node.set_op("Max"); in QuantizeNodes()
782 max_node.set_name(unique_input_name + "/max"); in QuantizeNodes()
[all …]
/external/ltp/testcases/kernel/syscalls/migrate_pages/
Dmigrate_pages03.c52 static int num_nodes, max_node; variable
72 max_node = LTP_ALIGN(get_max_node(), sizeof(unsigned long) * 8); in setup()
73 nodemask_size = max_node / 8; in setup()
97 max_node, 0)) in setup()
130 ret = tst_syscall(__NR_migrate_pages, 0, max_node, in migrate_test()
Dmigrate_pages02.c95 unsigned long nodemask_size, max_node; in migrate_to_node() local
101 max_node = LTP_ALIGN(get_max_node(), sizeof(unsigned long)*8); in migrate_to_node()
102 nodemask_size = max_node / 8; in migrate_to_node()
112 TEST(tst_syscall(__NR_migrate_pages, pid, max_node, old_nodes, in migrate_to_node()
/external/minigbm/cros_gralloc/
Dcros_gralloc_driver.cc44 uint32_t max_node = (min_node + num_nodes); in init() local
47 for (uint32_t j = min_node; j < max_node; j++) { in init()
/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.cc472 Node* max_node = test::graph::Reduce(&graph, "Max", fill_node, max_axes_node); in TEST() local
486 TF_CHECK_OK(session->Run({}, {max_node->name()}, {}, &outputs)); in TEST()