Home
last modified time | relevance | path

Searched refs:CreateDeviceAddress (Results 1 – 21 of 21) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/runtime/framework/
Dgraph_compiler.cc99 auto device_address = device_context->CreateDeviceAddress(nullptr, tensor_size, in CreateParameterDeviceAddress()
140 device_context->CreateDeviceAddress(nullptr, tensor_size, output_format, output_type_id); in CreateDeviceAddressForTensorValue()
162 …auto address = device_context->CreateDeviceAddress(nullptr, tensor_size, kOpFormat_DEFAULT, kNumbe… in CreateValueNodeDeviceAddress()
189 …auto device_address = device_context->CreateDeviceAddress(nullptr, output_sizes[i], output_format,… in CreateKernelOutputDeviceAddress()
208 …auto device_address = device_context->CreateDeviceAddress(nullptr, workspace_sizes[i], "", kTypeUn… in CreateKernelWorkspaceDeviceAddress()
345 CreateDeviceAddress(graph, device_context); in CompileGraphImpl()
411 CreateDeviceAddress(graph, device_context); in CompileGraph()
442 void GraphCompiler::CreateDeviceAddress(const KernelGraphPtr &graph, const DeviceContext *device_co… in CreateDeviceAddress() function in mindspore::runtime::GraphCompiler
Dgraph_compiler.h178 void CreateDeviceAddress(const KernelGraphPtr &graph, const DeviceContext *device_context) const;
Dcontrol_node_parser.cc169 device_context->CreateDeviceAddress(nullptr, tensor_size, output_format, output_type_id); in CreateDeviceTensorForValueNode()
193 …device::DeviceAddressPtr address = device_context->CreateDeviceAddress(nullptr, size, kOpFormat_DE… in CreateDeviceTensorForFrontParameter()
Dgraph_scheduler.cc1160 copy_actor->output_ = to_device_context->CreateDeviceAddress( in LinkDataArrowForCopyActor()
2276 auto other_type_device_tensor = device_context->CreateDeviceAddress( in PersistDeviceTensor()
/third_party/mindspore/mindspore/ccsrc/runtime/device/cpu/
Dcpu_kernel_runtime.h54 DeviceAddressPtr CreateDeviceAddress(void *device_ptr, size_t device_size, const string &format,
56 …DeviceAddressPtr CreateDeviceAddress(void *device_ptr, size_t device_size, const string &format, T…
Dcpu_kernel_runtime.cc114 address = CreateDeviceAddress(nullptr, tensor_size, kOpFormat_DEFAULT, output_type_id); in AssignValueNodeAddress()
148 auto address = CreateDeviceAddress(nullptr, tensor_size, format, output_type_id); in AssignInputNodeAddress()
165 …AnfAlgo::SetOutputAddr(CreateDeviceAddress(nullptr, output_sizes[i], output_format, output_type), … in AssignKernelOutputAddress()
170 …AnfAlgo::SetWorkspaceAddr(CreateDeviceAddress(nullptr, workspace_sizes[i], kOpFormat_DEFAULT, kNum… in AssignKernelOutputAddress()
176 DeviceAddressPtr CPUKernelRuntime::CreateDeviceAddress(void *device_ptr, size_t device_size, const … in CreateDeviceAddress() function in mindspore::device::cpu::CPUKernelRuntime
181 DeviceAddressPtr CPUKernelRuntime::CreateDeviceAddress(void *device_ptr, size_t device_size, const … in CreateDeviceAddress() function in mindspore::device::cpu::CPUKernelRuntime
/third_party/mindspore/mindspore/ccsrc/runtime/device/
Dkernel_runtime.cc188CreateDeviceAddress(nullptr, runtime_info->output_tensor_size(i), output_format, output_type, {nod… in RunOpGetCommunicationOutputInfo()
235 auto device_address = CreateDeviceAddress(nullptr, tensor_size, output_format, output_type); in RunOpMallocPre()
267CreateDeviceAddress(nullptr, output_tensor_size, output_format, output_type_id, {item, index}); in RunOpMallocPre()
295 …auto device_address = CreateDeviceAddress(nullptr, tensor_size, AnfAlgo::GetOutputFormat(input_nod… in ResetNodeAddress()
304 …AnfAlgo::SetOutputAddr(CreateDeviceAddress(nullptr, output_sizes[i], output_format, output_type), … in ResetNodeAddress()
309 …AnfAlgo::SetWorkspaceAddr(CreateDeviceAddress(nullptr, workspace_sizes[i], kOpFormat_DEFAULT, kNum… in ResetNodeAddress()
424CreateDeviceAddress(nullptr, tensor_size, AnfAlgo::GetOutputFormat(item, index), output_type_id, {… in RunOpAssignInputMemory()
473 …auto device_address = CreateDeviceAddress(nullptr, output_sizes[i], output_format, output_type, {k… in RunOpAssignOutputMemory()
492 auto device_address = CreateDeviceAddress(nullptr, workspace_lists[i], "", kTypeUnknown); in RunOpAssignWorkSpaceMemory()
612 …device_address = CreateDeviceAddress(address.addr, address.size, AnfAlgo::GetOutputFormat(item, in… in AssignStaticMemoryInput()
[all …]
Dkernel_runtime.h122 …virtual DeviceAddressPtr CreateDeviceAddress(void *device_ptr, size_t device_size, const string &f…
124 …virtual DeviceAddressPtr CreateDeviceAddress(void *device_ptr, size_t device_size, const string &f…
/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/
Dascend_kernel_runtime.h76 DeviceAddressPtr CreateDeviceAddress(void *device_ptr, size_t device_size, const string &format,
78 …DeviceAddressPtr CreateDeviceAddress(void *device_ptr, size_t device_size, const string &format, T…
Dascend_kernel_runtime.cc403 DeviceAddressPtr AscendKernelRuntime::CreateDeviceAddress(void *device_ptr, size_t device_size, con… in CreateDeviceAddress() function in mindspore::device::ascend::AscendKernelRuntime
408 DeviceAddressPtr AscendKernelRuntime::CreateDeviceAddress(void *device_ptr, size_t device_size, con… in CreateDeviceAddress() function in mindspore::device::ascend::AscendKernelRuntime
/third_party/mindspore/mindspore/ccsrc/runtime/device/gpu/
Dgpu_kernel_runtime.h57 DeviceAddressPtr CreateDeviceAddress(void *device_ptr, size_t device_size, const string &format,
59 …DeviceAddressPtr CreateDeviceAddress(void *device_ptr, size_t device_size, const string &format, T…
Dgpu_kernel_runtime.cc227 DeviceAddressPtr GPUKernelRuntime::CreateDeviceAddress(void *device_ptr, size_t device_size, const … in CreateDeviceAddress() function in mindspore::device::gpu::GPUKernelRuntime
232 DeviceAddressPtr GPUKernelRuntime::CreateDeviceAddress(void *device_ptr, size_t device_size, const … in CreateDeviceAddress() function in mindspore::device::gpu::GPUKernelRuntime
628 … auto device_address = CreateDeviceAddress(nullptr, output_sizes[i], output_format, output_type); in InitKernelOutputAddress()
642 auto device_address = CreateDeviceAddress(nullptr, workspace_sizes[i], "", kTypeUnknown); in InitKernelWorkspaceAddress()
/third_party/mindspore/mindspore/ccsrc/runtime/hardware/cpu/
Dcpu_device_context.h43 …DeviceAddressPtr CreateDeviceAddress(void *const device_ptr, size_t device_size, const string &for…
Dcpu_device_context.cc102 DeviceAddressPtr CPUDeviceContext::CreateDeviceAddress(void *const device_ptr, size_t device_size, … in CreateDeviceAddress() function in mindspore::device::cpu::CPUDeviceContext
/third_party/mindspore/mindspore/ccsrc/runtime/hardware/
Ddevice_context.h71 …virtual DeviceAddressPtr CreateDeviceAddress(void *const device_ptr, size_t device_size, const str…
/third_party/mindspore/mindspore/ccsrc/runtime/hardware/gpu/
Dgpu_device_context.h47 …DeviceAddressPtr CreateDeviceAddress(void *const device_ptr, size_t device_size, const string &for…
Dgpu_device_context.cc199 DeviceAddressPtr GPUDeviceContext::CreateDeviceAddress(void *const device_ptr, size_t device_size, … in CreateDeviceAddress() function in mindspore::device::gpu::GPUDeviceContext
/third_party/mindspore/mindspore/ccsrc/runtime/framework/actor/
Doutput_actor.cc95 … auto new_device_tensor = device_context->CreateDeviceAddress(nullptr, device_tensor->GetSize(), in UpdateOutputDeviceAddress()
Ddata_prepare_actor.cc314 auto device_address = device_context->CreateDeviceAddress( in PrepareDataForStepMode()
418 host_tensor_address = device_context->CreateDeviceAddress(nullptr, device_tensor->GetSize(), in PrepareDataForWeightNode()
Dkernel_actor.cc278 copy_input_device_tensors_[input_data->index_] = device_contexts_[0]->CreateDeviceAddress( in CopyInputDeviceTensor()
/third_party/mindspore/mindspore/ccsrc/vm/
Dbackend.cc252 … auto new_device_tensor = device_context->CreateDeviceAddress(nullptr, device_tensor->GetSize(), in UpdateOutputDeviceAddress()