MCPcopy Create free account
hub / github.com/Oneflow-Inc/oneflow / MemZoneId121

Method MemZoneId121

oneflow/core/graph/task_node.cpp:271–274  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

269}
270
271MemZoneId TaskNode::MemZoneId121() const {
272 StreamId stream_id = DecodeStreamIdFromInt64(thrd_id_);
273 return stream_id.device_id();
274}
275
276bool TaskNode::BuildCtrlRegstDescIfNeed(TaskNode* dst_node, std::string* name) {
277 if (IsMeaningLess() || dst_node->IsMeaningLess()) { return false; }

Callers 5

GetProxyNodeMethod · 0.45
BuildTaskPathMethod · 0.45
FOR_RANGEFunction · 0.45
FOR_RANGEFunction · 0.45
BuildMethod · 0.45

Calls 2

DecodeStreamIdFromInt64Function · 0.85
device_idMethod · 0.45

Tested by

no test coverage detected