Skip to content

Commit

Permalink
Revert "MlasGetMaximumThreadCount: plus 1 to the NumThreads from ORT …
Browse files Browse the repository at this point in the history
…thread pool (#1646)"

This reverts commit 4137303.
  • Loading branch information
snnn committed Sep 13, 2019
1 parent 2a21df2 commit 374ee9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion onnxruntime/core/mlas/lib/mlasi.h
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ MlasGetMaximumThreadCount(
MLAS_UNREFERENCED_PARAMETER(ThreadPool);
#else
if (ThreadPool != nullptr) {
return ThreadPool->NumThreads() + 1;
return ThreadPool->NumThreads();
}
#endif

Expand Down

0 comments on commit 374ee9d

Please sign in to comment.