Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
snnn committed Dec 19, 2023
1 parent 21ea4f1 commit 91cc779
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion onnxruntime/core/framework/session_options.h
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ struct SessionOptions {

// By default the session uses its own set of threadpools, unless this is set to false.
// Use this in conjunction with the CreateEnvWithGlobalThreadPools API.
#if defined(__wasm__)
#if defined(__wasm__) && defined(__EMSCRIPTEN_PTHREADS__)
bool use_per_session_threads = false;
#else
bool use_per_session_threads = true;
Expand Down

0 comments on commit 91cc779

Please sign in to comment.