SetIntraOpNumThreads property
Pointer<NativeFunction<OrtStatusPtr Function(Pointer<OrtSessionOptions> options, Int intra_op_num_threads)> >
SetIntraOpNumThreads
getter/setter pair
\brief Sets the number of threads used to parallelize the execution within nodes
When running a single node operation, ex. add, this sets the maximum number of threads to use.
\note If built with OpenMP, this has no effect on the number of threads used. In this case use the OpenMP env variables to configure the number of intra op num threads.
\paramin options
\paramin intra_op_num_threads Number of threads to use
A value of 0 will use the default number of threads
\snippet{doc} snippets.dox OrtStatus Return Value
Implementation
external ffi.Pointer<
ffi.NativeFunction<
OrtStatusPtr Function(
ffi.Pointer<OrtSessionOptions> options,
ffi.Int intra_op_num_threads,
)
>
>
SetIntraOpNumThreads;