Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions onnxruntime/core/mlas/lib/sgemm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1288,9 +1288,8 @@ Return Value:

#if defined(MLAS_USE_OPENMP)

#pragma omp parallel num_threads(Index)
{
int tid = omp_get_thread_num();
#pragma omp parallel for
for (int32_t tid = 0; tid < int32_t(Index); tid++) {

MLAS_SGEMM_WORK_BLOCK::SEGMENT* Segment = &WorkBlock.Segments[tid];

Expand Down