Home
last modified time | relevance | path

Searched refs:kAttrAtomicWorkspaceIndexs (Results 1 – 6 of 6) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/
Dkernel_build_ascend.cc147 if (AnfAlgo::HasNodeAttr(kAttrAtomicWorkspaceIndexs, pre_node)) { in CalCleanZerosSize()
148 …workspace_indexs = AnfAlgo::GetNodeAttr<std::vector<size_t>>(pre_node, kAttrAtomicWorkspaceIndexs); in CalCleanZerosSize()
281 AnfAlgo::SetNodeAttr(kAttrAtomicWorkspaceIndexs, MakeValue(workspace_indexs), kernel_node); in IsAtomicNode()
/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/tasksink/
Dtask_generator.cc123 if (AnfAlgo::HasNodeAttr(kAttrAtomicWorkspaceIndexs, pre_node)) { in LaunchAddrCleanKernel()
124 …workspace_indexs = AnfAlgo::GetNodeAttr<std::vector<size_t>>(pre_node, kAttrAtomicWorkspaceIndexs); in LaunchAddrCleanKernel()
/third_party/mindspore/mindspore/ccsrc/runtime/device/
Dkernel_runtime.cc1213 if (AnfAlgo::HasNodeAttr(kAttrAtomicWorkspaceIndexs, pre_node)) { in GenAddrCleanLaunchArgs()
1215 …_workspaces_indexes = AnfAlgo::GetNodeAttr<std::vector<int>>(pre_node, kAttrAtomicWorkspaceIndexs); in GenAddrCleanLaunchArgs()
1217 …rkspaces_indexes = AnfAlgo::GetNodeAttr<std::vector<size_t>>(pre_node, kAttrAtomicWorkspaceIndexs); in GenAddrCleanLaunchArgs()
/third_party/mindspore/mindspore/ccsrc/utils/
Dutils.h360 constexpr auto kAttrAtomicWorkspaceIndexs = "atomic_workspace_clean_indexs"; variable
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/somas/
Dsomas.cc616 if (AnfAlgo::HasNodeAttr(kAttrAtomicWorkspaceIndexs, pre_node)) { in InitAtomicCleanInputs()
617 …workspace_indexs = AnfAlgo::GetNodeAttr<std::vector<size_t>>(pre_node, kAttrAtomicWorkspaceIndexs); in InitAtomicCleanInputs()
/third_party/mindspore/mindspore/ccsrc/backend/session/
Danf_runtime_algorithm.cc2464 if (HasNodeAttr(kAttrAtomicWorkspaceIndexs, pre_node)) { in CacheAddrForAtomicClean()
2466 …uto clean_workspaces_indexes = GetNodeAttr<std::vector<int>>(pre_node, kAttrAtomicWorkspaceIndexs); in CacheAddrForAtomicClean()
2468 … clean_workspaces_indexes = GetNodeAttr<std::vector<size_t>>(pre_node, kAttrAtomicWorkspaceIndexs); in CacheAddrForAtomicClean()