HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Ort::ThreadingOptions Struct Reference

The ThreadingOptions. More...

#include <onnxruntime_cxx_api.h>

+ Inheritance diagram for Ort::ThreadingOptions:

Public Member Functions

 ThreadingOptions ()
 Wraps OrtApi::CreateThreadingOptions. More...
 
ThreadingOptionsSetGlobalIntraOpNumThreads (int intra_op_num_threads)
 Wraps OrtApi::SetGlobalIntraOpNumThreads. More...
 
ThreadingOptionsSetGlobalInterOpNumThreads (int inter_op_num_threads)
 Wraps OrtApi::SetGlobalInterOpNumThreads. More...
 
ThreadingOptionsSetGlobalSpinControl (int allow_spinning)
 Wraps OrtApi::SetGlobalSpinControl. More...
 
ThreadingOptionsSetGlobalDenormalAsZero ()
 Wraps OrtApi::SetGlobalDenormalAsZero. More...
 
ThreadingOptionsSetGlobalCustomCreateThreadFn (OrtCustomCreateThreadFn ort_custom_create_thread_fn)
 Wraps OrtApi::SetGlobalCustomCreateThreadFn. More...
 
ThreadingOptionsSetGlobalCustomThreadCreationOptions (void *ort_custom_thread_creation_options)
 Wraps OrtApi::SetGlobalCustomThreadCreationOptions. More...
 
ThreadingOptionsSetGlobalCustomJoinThreadFn (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 ()
 
Baseoperator= (const Base &)=delete
 
Baseoperator= (Base &&v) noexcept
 
constexpr operator contained_type * () const noexcept
 
contained_typerelease ()
 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_typep_
 

Detailed Description

The ThreadingOptions.

The ThreadingOptions used for set global threadpools' options of The Env.

Definition at line 364 of file onnxruntime_cxx_api.h.

Constructor & Destructor Documentation

Ort::ThreadingOptions::ThreadingOptions ( )
inline

Wraps OrtApi::CreateThreadingOptions.

Definition at line 371 of file onnxruntime_cxx_inline.h.

Member Function Documentation

ThreadingOptions & Ort::ThreadingOptions::SetGlobalCustomCreateThreadFn ( OrtCustomCreateThreadFn  ort_custom_create_thread_fn)
inline

Wraps OrtApi::SetGlobalCustomCreateThreadFn.

Definition at line 395 of file onnxruntime_cxx_inline.h.

ThreadingOptions & Ort::ThreadingOptions::SetGlobalCustomJoinThreadFn ( OrtCustomJoinThreadFn  ort_custom_join_thread_fn)
inline

Wraps OrtApi::SetGlobalCustomJoinThreadFn.

Definition at line 405 of file onnxruntime_cxx_inline.h.

ThreadingOptions & Ort::ThreadingOptions::SetGlobalCustomThreadCreationOptions ( void ort_custom_thread_creation_options)
inline

Wraps OrtApi::SetGlobalCustomThreadCreationOptions.

Definition at line 400 of file onnxruntime_cxx_inline.h.

ThreadingOptions & Ort::ThreadingOptions::SetGlobalDenormalAsZero ( )
inline

Wraps OrtApi::SetGlobalDenormalAsZero.

Definition at line 390 of file onnxruntime_cxx_inline.h.

ThreadingOptions & Ort::ThreadingOptions::SetGlobalInterOpNumThreads ( int  inter_op_num_threads)
inline

Wraps OrtApi::SetGlobalInterOpNumThreads.

Definition at line 380 of file onnxruntime_cxx_inline.h.

ThreadingOptions & Ort::ThreadingOptions::SetGlobalIntraOpNumThreads ( int  intra_op_num_threads)
inline

Wraps OrtApi::SetGlobalIntraOpNumThreads.

Definition at line 375 of file onnxruntime_cxx_inline.h.

ThreadingOptions & Ort::ThreadingOptions::SetGlobalSpinControl ( int  allow_spinning)
inline

Wraps OrtApi::SetGlobalSpinControl.

Definition at line 385 of file onnxruntime_cxx_inline.h.


The documentation for this struct was generated from the following files: