!33582 [lite]fix thread-distribution question

Merge pull request !33582 from 徐安越/master1
This commit is contained in:
i-robot 2022-04-27 03:01:43 +00:00 committed by Gitee
commit 42168e9dc9
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 0 deletions

View File

@ -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;