forked from mindspore-Ecosystem/mindspore
!33582 [lite]fix thread-distribution question
Merge pull request !33582 from 徐安越/master1
This commit is contained in:
commit
42168e9dc9
|
@ -380,6 +380,7 @@ int MatmulFp32BaseCPUKernel::GetThreadCuttingPolicy() {
|
|||
split_points_.push_back(split_point * col_min_unit_);
|
||||
split_point += block_col_unit;
|
||||
}
|
||||
thread_count_ = split_points_.size();
|
||||
parallel_fun_ = &MatmulFp32BaseCPUKernel::ParallelRunByOC;
|
||||
}
|
||||
return RET_OK;
|
||||
|
|
Loading…
Reference in New Issue