Home
last modified time | relevance | path

Searched refs:node_ids (Results 1 – 5 of 5) sorted by relevance

/third_party/skia/third_party/externals/dawn/src/tests/unittests/
DLinkedListTests.cpp63 const int* node_ids, in ExpectListContentsForDirection() argument
70 EXPECT_EQ(node_ids[index_of_id], node->value()->id()); in ExpectListContentsForDirection()
76 void ExpectListContents(const LinkedList<Node>& list, int num_nodes, const int* node_ids) { in ExpectListContents() argument
79 ExpectListContentsForDirection(list, num_nodes, node_ids, true); in ExpectListContents()
83 ExpectListContentsForDirection(list, num_nodes, node_ids, false); in ExpectListContents()
/third_party/mindspore/mindspore/core/ir/
Danf.cc359 static std::unordered_map<std::string, int> node_ids; variable
362 if (node_ids.find(type_name) == node_ids.end()) { in get_id()
363 node_ids[type_name] = 0; in get_id()
365 node_ids[type_name]++; in get_id()
367 return std::to_string(node_ids[type_name]); in get_id()
370 void reset_id() { node_ids.clear(); } in reset_id()
/third_party/mindspore/mindspore/ccsrc/ps/core/
Dscheduler_node.h142 RequestProcessResult CheckIfNodeIdLegal(const std::vector<std::string> &node_ids);
Dscheduler_node.cc981 RequestProcessResult SchedulerNode::CheckIfNodeIdLegal(const std::vector<std::string> &node_ids) { in CheckIfNodeIdLegal() argument
983 if (node_ids.size() == 0) { in CheckIfNodeIdLegal()
991 for (auto val : node_ids) { in CheckIfNodeIdLegal()
/third_party/mesa3d/src/amd/vulkan/
Dradv_acceleration_structure.c474 optimize_bvh(const char *base_ptr, uint32_t *node_ids, uint32_t node_count) in optimize_bvh() argument
484 compute_bounds(base_ptr, node_ids[i], node_bounds); in optimize_bvh()
497 compute_bounds(base_ptr, node_ids[i], node_bounds); in optimize_bvh()
512 entries[i].node_id = node_ids[i]; in optimize_bvh()
517 node_ids[i] = entries[i].node_id; in optimize_bvh()