SetGlobalInterOpNumThreads property
Pointer<NativeFunction<OrtStatusPtr Function(Pointer<OrtThreadingOptions> tp_options, Int inter_op_num_threads)> >
SetGlobalInterOpNumThreads
getter/setter pair
\brief Set global inter-op thread count
This configures the global thread pool options to be used in the call to OrtApi::CreateEnvWithGlobalThreadPools
\paramin tp_options
\paramin inter_op_num_threads Number of threads, special values:
0 = Use default thread count
1 = The invoking thread will be used; no threads will be created in the thread pool.
\snippet{doc} snippets.dox OrtStatus Return Value
Implementation
external ffi.Pointer<
ffi.NativeFunction<
OrtStatusPtr Function(
ffi.Pointer<OrtThreadingOptions> tp_options,
ffi.Int inter_op_num_threads,
)
>
>
SetGlobalInterOpNumThreads;