threading_options property

Pointer<OrtThreadingOptions> threading_options
getter/setter pair

\brief Optional threading options for creating an environment with global thread pools shared across sessions. May be set to NULL.

\note The OrtThreadingOptions instance is copied by ORT.

\note Use OrtApi::CreateThreadingOptions() to create an instance of OrtThreadingOptions.

\note Use this in conjunction with OrtApi::DisablePerSessionThreads or else the session will use its own thread pools.

\since Version 1.24.

Implementation

external ffi.Pointer<OrtThreadingOptions> threading_options;