Home
last modified time | relevance | path

Searched refs:output_address_list_ (Results 1 – 2 of 2) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/runtime/device/
Dkernel_info.cc26 if (index >= output_address_list_.size()) { in GetOutputAddr()
27 MS_LOG(ERROR) << "Index [" << index << "] out of range 0~" << (output_address_list_.size() - 1); in GetOutputAddr()
30 return output_address_list_[index].get(); in GetOutputAddr()
34 if (index >= output_address_list_.size()) { in GetMutableOutputAddr()
38 return output_address_list_[index]; in GetMutableOutputAddr()
42 if (index >= output_address_list_.size()) { in OutputAddrExist()
45 return output_address_list_[index] != nullptr; in OutputAddrExist()
50 if (kernel_mod_ == nullptr && index >= output_address_list_.size()) { in SetOutputAddr()
51 for (size_t i = output_address_list_.size(); i <= index; i++) { in SetOutputAddr()
52 output_address_list_.emplace_back(nullptr); in SetOutputAddr()
[all …]
Dkernel_info.h37 output_address_list_ = {}; in KernelInfo()
73 …ector<std::shared_ptr<DeviceAddress>> &output_address_list() const { return output_address_list_; } in output_address_list()
79 std::vector<std::shared_ptr<DeviceAddress>> output_address_list_; variable