Home
last modified time | relevance | path

Searched refs:SetWorkspaceAddr (Results 1 – 9 of 9) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/runtime/device/
Dkernel_info.h59 bool SetWorkspaceAddr(const DeviceAddressPtr &output_address, size_t index);
Dkernel_info.cc91 bool KernelInfo::SetWorkspaceAddr(const DeviceAddressPtr &output_address, size_t index) { in SetWorkspaceAddr() function in mindspore::device::KernelInfo
Dkernel_runtime.cc309 …AnfAlgo::SetWorkspaceAddr(CreateDeviceAddress(nullptr, workspace_sizes[i], kOpFormat_DEFAULT, kNum… in ResetNodeAddress()
358 AnfAlgo::SetWorkspaceAddr(nullptr, index, cnode.get()); in RunOpClearMemory()
498 AnfAlgo::SetWorkspaceAddr(device_address, i, kernel.get()); in RunOpAssignWorkSpaceMemory()
1115 AnfAlgo::SetWorkspaceAddr(CreateDeviceAddress(ptr, size, "", kTypeUnknown), index, node.get()); in AssignWorkSpaceMem()
/third_party/mindspore/tests/ut/cpp/session/
Danf_runtime_algorithm_test.cc566 d_kernel_info->SetWorkspaceAddr(device_address, 0); in TEST_F()
570 TEST_F(AnfRuntimeAlgorithmTest, SetWorkspaceAddr) { in TEST_F() argument
577 EXPECT_THROW(AnfAlgo::SetWorkspaceAddr(device_address, 0, nullptr), std::runtime_error); in TEST_F()
578 AnfAlgo::SetWorkspaceAddr(device_address, 0, add.get()); in TEST_F()
/third_party/mindspore/mindspore/ccsrc/backend/session/
Danf_runtime_algorithm.h202 static void SetWorkspaceAddr(const DeviceAddressPtr &addr, size_t output_idx, AnfNode *node);
Danf_runtime_algorithm.cc1127 void AnfRuntimeAlgorithm::SetWorkspaceAddr(const DeviceAddressPtr &addr, size_t output_idx, AnfNode… in SetWorkspaceAddr() function in mindspore::session::AnfRuntimeAlgorithm
1131 if (!kernel_info->SetWorkspaceAddr(addr, output_idx)) { in SetWorkspaceAddr()
/third_party/mindspore/mindspore/ccsrc/runtime/framework/
Dgraph_compiler.cc209 AnfAlgo::SetWorkspaceAddr(device_address, i, kernel.get()); in CreateKernelWorkspaceDeviceAddress()
/third_party/mindspore/mindspore/ccsrc/runtime/device/cpu/
Dcpu_kernel_runtime.cc170 …AnfAlgo::SetWorkspaceAddr(CreateDeviceAddress(nullptr, workspace_sizes[i], kOpFormat_DEFAULT, kNum… in AssignKernelOutputAddress()
/third_party/mindspore/mindspore/ccsrc/runtime/device/gpu/
Dgpu_kernel_runtime.cc643 AnfAlgo::SetWorkspaceAddr(device_address, i, kernel.get()); in InitKernelWorkspaceAddress()