/external/ltp/testcases/kernel/lib/ |
D | numa_helper.c | 41 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/ |
D | quantize_weights.cc | 117 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()
|
D | freeze_requantization_ranges.cc | 190 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()
|
D | quantize_nodes.cc | 348 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/ |
D | migrate_pages03.c | 52 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()
|
D | migrate_pages02.c | 95 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/ |
D | cros_gralloc_driver.cc | 44 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/ |
D | commands.c | 440 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/ |
D | grpc_session_test.cc | 472 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()
|