SetGlobalIntraOpNumThreads property
Pointer<NativeFunction<OrtStatusPtr Function(Pointer<OrtThreadingOptions> tp_options, Int intra_op_num_threads)> >
SetGlobalIntraOpNumThreads
getter/setter pair
\brief Set global intra-op thread count
This configures the global thread pool options to be used in the call to OrtApi::CreateEnvWithGlobalThreadPools
\paramin tp_options
\paramin intra_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 intra_op_num_threads,
)
>
>
SetGlobalIntraOpNumThreads;