HDK
|
The ThreadingOptions. More...
#include <onnxruntime_cxx_api.h>
Public Member Functions | |
ThreadingOptions () | |
Wraps OrtApi::CreateThreadingOptions. More... | |
ThreadingOptions & | SetGlobalIntraOpNumThreads (int intra_op_num_threads) |
Wraps OrtApi::SetGlobalIntraOpNumThreads. More... | |
ThreadingOptions & | SetGlobalInterOpNumThreads (int inter_op_num_threads) |
Wraps OrtApi::SetGlobalInterOpNumThreads. More... | |
ThreadingOptions & | SetGlobalSpinControl (int allow_spinning) |
Wraps OrtApi::SetGlobalSpinControl. More... | |
ThreadingOptions & | SetGlobalDenormalAsZero () |
Wraps OrtApi::SetGlobalDenormalAsZero. More... | |
ThreadingOptions & | SetGlobalCustomCreateThreadFn (OrtCustomCreateThreadFn ort_custom_create_thread_fn) |
Wraps OrtApi::SetGlobalCustomCreateThreadFn. More... | |
ThreadingOptions & | SetGlobalCustomThreadCreationOptions (void *ort_custom_thread_creation_options) |
Wraps OrtApi::SetGlobalCustomThreadCreationOptions. More... | |
ThreadingOptions & | SetGlobalCustomJoinThreadFn (OrtCustomJoinThreadFn ort_custom_join_thread_fn) |
Wraps OrtApi::SetGlobalCustomJoinThreadFn. More... | |
Public Member Functions inherited from Ort::detail::Base< OrtThreadingOptions > | |
constexpr | Base ()=default |
constexpr | Base (contained_type *p) noexcept |
Base (const Base &)=delete | |
Base (Base &&v) noexcept | |
~Base () | |
Base & | operator= (const Base &)=delete |
Base & | operator= (Base &&v) noexcept |
constexpr | operator contained_type * () const noexcept |
contained_type * | release () |
Relinquishes ownership of the contained C object pointer The underlying object is not destroyed. More... | |
Additional Inherited Members | |
Public Types inherited from Ort::detail::Base< OrtThreadingOptions > | |
using | contained_type = OrtThreadingOptions |
Protected Attributes inherited from Ort::detail::Base< OrtThreadingOptions > | |
contained_type * | p_ |
The ThreadingOptions.
The ThreadingOptions used for set global threadpools' options of The Env.
Definition at line 666 of file onnxruntime_cxx_api.h.
|
inline |
Wraps OrtApi::CreateThreadingOptions.
Definition at line 431 of file onnxruntime_cxx_inline.h.
|
inline |
Wraps OrtApi::SetGlobalCustomCreateThreadFn.
Definition at line 455 of file onnxruntime_cxx_inline.h.
|
inline |
Wraps OrtApi::SetGlobalCustomJoinThreadFn.
Definition at line 465 of file onnxruntime_cxx_inline.h.
|
inline |
Wraps OrtApi::SetGlobalCustomThreadCreationOptions.
Definition at line 460 of file onnxruntime_cxx_inline.h.
|
inline |
Wraps OrtApi::SetGlobalDenormalAsZero.
Definition at line 450 of file onnxruntime_cxx_inline.h.
|
inline |
Wraps OrtApi::SetGlobalInterOpNumThreads.
Definition at line 440 of file onnxruntime_cxx_inline.h.
|
inline |
Wraps OrtApi::SetGlobalIntraOpNumThreads.
Definition at line 435 of file onnxruntime_cxx_inline.h.
|
inline |
Wraps OrtApi::SetGlobalSpinControl.
Definition at line 445 of file onnxruntime_cxx_inline.h.