From 419292f91f6b763e2ac8c58cd75997cf66fdce66 Mon Sep 17 00:00:00 2001 From: xiongkun Date: Fri, 10 Feb 2023 14:50:11 +0800 Subject: [PATCH] codex --- mindspore/ccsrc/plugin/device/cpu/kernel/ger_cpu_kernel.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mindspore/ccsrc/plugin/device/cpu/kernel/ger_cpu_kernel.cc b/mindspore/ccsrc/plugin/device/cpu/kernel/ger_cpu_kernel.cc index e5e8ddf257b..c6fbc7dcfb4 100644 --- a/mindspore/ccsrc/plugin/device/cpu/kernel/ger_cpu_kernel.cc +++ b/mindspore/ccsrc/plugin/device/cpu/kernel/ger_cpu_kernel.cc @@ -250,7 +250,7 @@ bool GerCpuKernelMod::LaunchMacBatches(const std::vector &in T *input2 = reinterpret_cast(inputs[kIndex1]->addr); T *output = reinterpret_cast(outputs[kIndex0]->addr); auto task = [this, &input1, &input2, &output](size_t start, size_t end) { - for (size_t batch_index = 0; batch_index < end; batch_index++) { + for (size_t batch_index = start; batch_index < end; batch_index++) { size_t row_i_s = batch_index * this->in1dim_; size_t col_i_s = batch_index * this->in2dim_; size_t out_i_s = batch_index * this->in1dim_ * this->in2dim_;