ONNX Runtime
|
The ThreadingOptions. More...
#include <onnxruntime_cxx_api.h>
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.
Ort::ThreadingOptions::ThreadingOptions | ( | ) |
ThreadingOptions & Ort::ThreadingOptions::SetGlobalCustomCreateThreadFn | ( | OrtCustomCreateThreadFn | ort_custom_create_thread_fn | ) |
ThreadingOptions & Ort::ThreadingOptions::SetGlobalCustomJoinThreadFn | ( | OrtCustomJoinThreadFn | ort_custom_join_thread_fn | ) |
ThreadingOptions & Ort::ThreadingOptions::SetGlobalCustomThreadCreationOptions | ( | void * | ort_custom_thread_creation_options | ) |
ThreadingOptions & Ort::ThreadingOptions::SetGlobalDenormalAsZero | ( | ) |
ThreadingOptions & Ort::ThreadingOptions::SetGlobalInterOpNumThreads | ( | int | inter_op_num_threads | ) |
ThreadingOptions & Ort::ThreadingOptions::SetGlobalIntraOpNumThreads | ( | int | intra_op_num_threads | ) |
ThreadingOptions & Ort::ThreadingOptions::SetGlobalSpinControl | ( | int | allow_spinning | ) |
Wraps OrtApi::SetGlobalSpinControl.