Skip to content

Commit

Permalink
rm useless change
Browse files Browse the repository at this point in the history
  • Loading branch information
Yi Zhang committed Dec 16, 2024
1 parent 6032820 commit 242c182
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ using namespace xnnpack;
XnnpackExecutionProvider::XnnpackExecutionProvider(const XnnpackExecutionProviderInfo& info)
: IExecutionProvider{kXnnpackExecutionProvider} {
int xnn_thread_pool_size = info.xnn_thread_pool_size;
int ort_thread_pool_size = info.session_options ? info.session_options->intra_op_param.thread_pool_size : 0;
int ort_thread_pool_size = info.session_options ? info.session_options->intra_op_param.thread_pool_size : 1;
bool allow_intra_op_spinning = (info.session_options == nullptr) ||
(info.session_options &&
info.session_options->config_options.GetConfigOrDefault(
Expand Down

0 comments on commit 242c182

Please sign in to comment.