Home
last modified time | relevance | path

Searched refs:GetMutablePtr (Results 1 – 12 of 12) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/executor/
Dai_cpu_dynamic_kernel.cc118 io_addrs.emplace_back(reinterpret_cast<uintptr_t>(input_addr->GetMutablePtr())); in UpdateInputOutputAddr()
124 io_addrs.emplace_back(reinterpret_cast<uintptr_t>(output_addr->GetMutablePtr())); in UpdateInputOutputAddr()
Dai_core_dynamic_kernel.cc124 … [](const DeviceAddressPtr &address_ptr) { return address_ptr->GetMutablePtr(); }); in UpdateArgs()
/third_party/mindspore/mindspore/core/ir/
Ddevice_sync.h46 virtual void *GetMutablePtr() const = 0;
/third_party/mindspore/mindspore/ccsrc/runtime/framework/actor/
Dkernel_actor.cc381 launch_info_.inputs_[i]->addr = input_device_tensors_[i]->GetMutablePtr(); in PreLaunchKernel()
388 launch_info_.outputs_[i]->addr = output_device_tensors_[i]->GetMutablePtr(); in PreLaunchKernel()
395 launch_info_.workspaces_[i]->addr = workspace_device_tensors_[i]->GetMutablePtr(); in PreLaunchKernel()
Dactor_common.cc162 return src_device_tensor->SyncDeviceToHost(copy_size, dst_device_tensor->GetMutablePtr()); in Copy()
Ddata_source_actor.cc164 launch_info_.outputs_[i]->addr = device_tensors[i]->GetMutablePtr(); in OnMemoryAllocFinish()
/third_party/mindspore/mindspore/ccsrc/runtime/device/
Dbucket.cc79 auto origin_dev_ptr = device_address->GetMutablePtr(); in UpdateTensorAddr()
Ddevice_address.h85 void *GetMutablePtr() const override { return ptr_; } in GetMutablePtr() function
/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/dump/
Ddata_dumper.cc191 void *current_step = current_step_tensor->device_address()->GetMutablePtr(); in SetOpMappingInfo()
192 void *current_epoch = currnet_epoch_tensor->device_address()->GetMutablePtr(); in SetOpMappingInfo()
193 void *steps_per_epoch = steps_per_epoch_tensor->device_address()->GetMutablePtr(); in SetOpMappingInfo()
/third_party/mindspore/mindspore/ccsrc/runtime/device/gpu/
Dgpu_bucket.cc67 …std::make_shared<kernel::Address>(static_cast<uint8_t *>(device_address->GetMutablePtr()), origin_… in AllocateAllReduceAddr()
/third_party/mindspore/mindspore/ccsrc/runtime/device/ascend/
Dascend_bucket.cc52 static_cast<uint8_t *>(device_address->GetMutablePtr()), device_address->GetSize())); in AllocateAllReduceAddr()
/third_party/mindspore/mindspore/ccsrc/pipeline/pynative/
Dpynative_execute.cc743 auto old_ptr = old_device_address->GetMutablePtr(); in UpdateTensorInfo()