Home
last modified time | relevance | path

Searched refs:output_size_list_ (Results 1 – 25 of 331) sorted by relevance

12345678910>>...14

/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/data/
Ddataset_iterator_kernel.cc51 …std::vector<size_t> &DatasetIteratorKernel::GetOutputSizeList() const { return output_size_list_; } in GetOutputSizeList()
69 output_size_list_.push_back(bytes); in Init()
73 handle_ = GpuBufferMgr::GetInstance().Open(0, queue_name_, output_size_list_); in Init()
139 handle_ = GpuBufferMgr::GetInstance().Open(0, queue_name_, output_size_list_); in Launch()
155 for (size_t i = 0; i < output_size_list_.size(); i++) { in Launch()
158 … cudaMemcpyAsync(output_addr, addr, output_size_list_[i], cudaMemcpyDeviceToDevice, in Launch()
161 addr = reinterpret_cast<unsigned char *>(addr) + output_size_list_[i]; in Launch()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/sponge/common/
Datomcrdtocv_kernel.h58 const std::vector<size_t> &GetOutputSizeList() const override { return output_size_list_; } in GetOutputSizeList()
84 output_size_list_.push_back(number * sizeof(T)); in InitSizeLists()
85 output_size_list_.push_back(number * sizeof(T)); in InitSizeLists()
87 output_size_list_.push_back(3 * atom_numbers * sizeof(T)); in InitSizeLists()
88 output_size_list_.push_back(3 * atom_numbers * sizeof(T1)); in InitSizeLists()
97 std::vector<size_t> output_size_list_; variable
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/nn/
Drelu_v2_gpu_kernel.h36 const std::vector<size_t> &GetOutputSizeList() const override { return output_size_list_; } in GetOutputSizeList()
70 output_size_list_.clear(); in ResetResource()
78 output_size_list_.push_back(size); in InitSizeLists()
80 output_size_list_.push_back(mask_size); in InitSizeLists()
88 std::vector<size_t> output_size_list_; variable
Dfused_add_relu_v2_gpu_kernel.h36 const std::vector<size_t> &GetOutputSizeList() const override { return output_size_list_; } in GetOutputSizeList()
71 output_size_list_.clear(); in ResetResource()
80 output_size_list_.push_back(size); in InitSizeLists()
83 output_size_list_.push_back(size); in InitSizeLists()
91 std::vector<size_t> output_size_list_; variable
Dnll_loss_gpu_kernel.h35 const std::vector<size_t> &GetOutputSizeList() const override { return output_size_list_; } in GetOutputSizeList()
106 output_size_list_.clear(); in ResetResource()
117 output_size_list_.push_back(n_ * sizeof(T)); // loss output of shape (N,) in InitSizeLists()
119 output_size_list_.push_back(sizeof(T)); // scalar loss output in InitSizeLists()
121 output_size_list_.push_back(sizeof(S)); // total weight in InitSizeLists()
135 std::vector<size_t> output_size_list_; variable
Dlayer_norm_gpu_kernel.h34 const std::vector<size_t> &GetOutputSizeList() const override { return output_size_list_; } in GetOutputSizeList()
100 output_size_list_.push_back(input_row_ * input_col_ * sizeof(T)); in InitSizeLists()
101 output_size_list_.push_back(input_row_ * sizeof(T)); in InitSizeLists()
102 output_size_list_.push_back(input_row_ * sizeof(T)); in InitSizeLists()
107 std::vector<size_t> output_size_list_; variable
Ddropout_gpu_kernel.h35 const std::vector<size_t> &GetOutputSizeList() const override { return output_size_list_; } in GetOutputSizeList()
110 output_size_list_.clear(); in ResetResource()
120output_size_list_.push_back(input_size); // output size: the same with input s… in InitSizeLists()
121output_size_list_.push_back(input_size); // mask size: the same with input size in InitSizeLists()
134 std::vector<size_t> output_size_list_; variable
Dflatten_gpu_kernel.h34 const std::vector<size_t> &GetOutputSizeList() const override { return output_size_list_; } in GetOutputSizeList()
71 output_size_list_.clear(); in ResetResource()
78 output_size_list_.push_back(input_size_); in InitSizeLists()
83 std::vector<size_t> output_size_list_; variable
Dprelu_grad_gpu_kernel.h36 const std::vector<size_t> &GetOutputSizeList() const override { return output_size_list_; } in GetOutputSizeList()
108 output_size_list_.clear(); in ResetResource()
118 output_size_list_.push_back(input_length_ * data_size); in InitSizeLists()
119 output_size_list_.push_back(weight_length_ * data_size); in InitSizeLists()
130 std::vector<size_t> output_size_list_; variable
Dlayer_norm_grad_gpu_kernel.h34 const std::vector<size_t> &GetOutputSizeList() const override { return output_size_list_; } in GetOutputSizeList()
104 output_size_list_.push_back(input_row_ * input_col_ * sizeof(T)); in InitSizeLists()
105 output_size_list_.push_back(param_dim_ * sizeof(T)); in InitSizeLists()
106 output_size_list_.push_back(param_dim_ * sizeof(T)); in InitSizeLists()
111 std::vector<size_t> output_size_list_; variable
Drelu_grad_v2_gpu_kernel.h36 const std::vector<size_t> &GetOutputSizeList() const override { return output_size_list_; } in GetOutputSizeList()
70 output_size_list_.clear(); in ResetResource()
78 output_size_list_.push_back(size); in InitSizeLists()
89 std::vector<size_t> output_size_list_; variable
Dbatch_norm_gpu_kernel.h38 const std::vector<size_t> &GetOutputSizeList() const override { return output_size_list_; } in GetOutputSizeList()
168 output_size_list_.clear(); in ResetResource()
238 output_size_list_.push_back(output_size_); // output in InitSizeLists()
239 output_size_list_.push_back(para_size_); // save scale in InitSizeLists()
240 output_size_list_.push_back(reserve_size_); // reserve space in InitSizeLists()
241 output_size_list_.push_back(para_size_); // save mean in InitSizeLists()
242 output_size_list_.push_back(para_size_); // save variance in InitSizeLists()
319 std::vector<size_t> output_size_list_; variable
Dsparse_ftrl_gpu_kernel.h34 const std::vector<size_t> &GetOutputSizeList() const override { return output_size_list_; } in GetOutputSizeList()
135 output_size_list_.push_back(variable_size_); in InitSizeLists()
136 output_size_list_.push_back(accumulation_size_); in InitSizeLists()
137 output_size_list_.push_back(linear_size_); in InitSizeLists()
155 output_size_list_.clear(); in ResetResource()
175 std::vector<size_t> output_size_list_; variable
Ddropout3d_gpu_kernel.h35 const std::vector<size_t> &GetOutputSizeList() const override { return output_size_list_; } in GetOutputSizeList()
128 output_size_list_.clear(); in ResetResource()
137 output_size_list_.push_back(input_size); // output size: the same as input size in InitSizeLists()
138 output_size_list_.push_back(mask_size); in InitSizeLists()
156 std::vector<size_t> output_size_list_; variable
Dkl_div_loss_grad_kernel.h35 const std::vector<size_t> &GetOutputSizeList() const override { return output_size_list_; } in GetOutputSizeList()
77 output_size_list_.push_back(input_size_ * sizeof(T)); in InitSizeLists()
78 output_size_list_.push_back(input_size_ * sizeof(T)); in InitSizeLists()
92 std::vector<size_t> output_size_list_; variable
Dhsigmoid_gpu_kernel.h34 const std::vector<size_t> &GetOutputSizeList() const override { return output_size_list_; } in GetOutputSizeList()
78 output_size_list_.clear(); in ResetResource()
85 output_size_list_.push_back(input_size_ * sizeof(T)); in InitSizeLists()
92 std::vector<size_t> output_size_list_; variable
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/quant/
Dbatchnorm_fold2_grad_gpu_kernel.h43 const std::vector<size_t> &GetOutputSizeList() const override { return output_size_list_; } in GetOutputSizeList()
146 output_size_list_.push_back(weight_size); // d_batch_std in InitSizeLists()
147 output_size_list_.push_back(weight_size); // d_batch_mean in InitSizeLists()
148 output_size_list_.push_back(weight_size); // d_beta in InitSizeLists()
149 output_size_list_.push_back(weight_size); // d_gamma in InitSizeLists()
150 output_size_list_.push_back(input_size); // d_x in InitSizeLists()
169 std::vector<size_t> output_size_list_; variable
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/sponge/restrain/
Drestrain_force_atom_energy_virial_kernel.h60 const std::vector<size_t> &GetOutputSizeList() const override { return output_size_list_; } in GetOutputSizeList()
87 output_size_list_.push_back(atom_numbers * sizeof(T)); in InitSizeLists()
88 output_size_list_.push_back(atom_numbers * sizeof(T)); in InitSizeLists()
89 output_size_list_.push_back(3 * atom_numbers * sizeof(T)); in InitSizeLists()
99 std::vector<size_t> output_size_list_; variable
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/arrays/
Dargmaxandminwithvalue_gpu_kernel.h35 const std::vector<size_t> &GetOutputSizeList() const override { return output_size_list_; } in GetOutputSizeList()
103 output_size_list_.clear(); in ResetResource()
110 output_size_list_.push_back(output_size_); in InitSizeLists()
111 output_size_list_.push_back(output_size_ / sizeof(S) * sizeof(T)); in InitSizeLists()
119 std::vector<size_t> output_size_list_; variable
Dzeroslike_gpu_kernel.h33 const std::vector<size_t> &GetOutputSizeList() const override { return output_size_list_; } in GetOutputSizeList()
76 output_size_list_.clear(); in ResetResource()
84 output_size_list_.push_back(input_size_ * sizeof(T)); in InitSizeLists()
91 std::vector<size_t> output_size_list_; variable
Dunique_gpu_kernel.h33 const std::vector<size_t> &GetOutputSizeList() const override { return output_size_list_; } in GetOutputSizeList()
98 output_size_list_.clear(); in ResetResource()
105 output_size_list_.push_back(output_size_); in InitSizeLists()
106 output_size_list_.push_back(num_elements_ * sizeof(S)); in InitSizeLists()
120 std::vector<size_t> output_size_list_; variable
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/math/
Dnms_with_mask_gpu_kernel.h44 const std::vector<size_t> &GetOutputSizeList() const override { return output_size_list_; } in GetOutputSizeList()
107 output_size_list_.push_back(num_input_ * sizeof(T) * box_size_); in InitSizeLists()
108 output_size_list_.push_back(num_input_ * sizeof(int)); in InitSizeLists()
109 output_size_list_.push_back(num_input_ * sizeof(bool)); in InitSizeLists()
128 std::vector<size_t> output_size_list_; variable
Dlogical_not_gpu_kernel.h37 const std::vector<size_t> &GetOutputSizeList() const override { return output_size_list_; } in GetOutputSizeList()
69 output_size_list_.clear(); in ResetResource()
76 output_size_list_.push_back(input_num_ * sizeof(T)); in InitSizeLists()
83 std::vector<size_t> output_size_list_; variable
Dsquare_sum_all_gpu_kernel.h34 const std::vector<size_t> &GetOutputSizeList() const override { return output_size_list_; } in GetOutputSizeList()
71 output_size_list_.push_back(sizeof(T)); in InitSizeLists()
72 output_size_list_.push_back(sizeof(T)); in InitSizeLists()
79 std::vector<size_t> output_size_list_; variable
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/nccl/
Dsync_batch_norm_gpu_kernel.h39 const std::vector<size_t> &GetOutputSizeList() const override { return output_size_list_; } in GetOutputSizeList()
177 output_size_list_.clear(); in ResetResource()
188 output_size_list_.push_back(output_size_); // output in InitSizeLists()
189 output_size_list_.push_back(param_size_S_); // save scale in InitSizeLists()
190 output_size_list_.push_back(param_size_S_); // reserve space in InitSizeLists()
191 output_size_list_.push_back(param_size_G_output_); // save mean in InitSizeLists()
192 output_size_list_.push_back(param_size_G_output_); // save variance in InitSizeLists()
236 std::vector<size_t> output_size_list_; variable

12345678910>>...14