|
| | Env (std::nullptr_t) |
| | Create an empty Env object, must be assigned a valid one to be used.
|
| |
| | Env (OrtLoggingLevel logging_level=ORT_LOGGING_LEVEL_WARNING, const char *logid="") |
| | Wraps OrtApi::CreateEnv.
|
| |
| | Env (OrtLoggingLevel logging_level, const char *logid, OrtLoggingFunction logging_function, void *logger_param) |
| | Wraps OrtApi::CreateEnvWithCustomLogger.
|
| |
| | Env (const OrtThreadingOptions *tp_options, OrtLoggingLevel logging_level=ORT_LOGGING_LEVEL_WARNING, const char *logid="") |
| | Wraps OrtApi::CreateEnvWithGlobalThreadPools.
|
| |
| | Env (const OrtThreadingOptions *tp_options, OrtLoggingFunction logging_function, void *logger_param, OrtLoggingLevel logging_level=ORT_LOGGING_LEVEL_WARNING, const char *logid="") |
| | Wraps OrtApi::CreateEnvWithCustomLoggerAndGlobalThreadPools.
|
| |
| | Env (OrtEnv *p) |
| | C Interop Helper.
|
| |
| Env & | EnableTelemetryEvents () |
| | Wraps OrtApi::EnableTelemetryEvents.
|
| |
| Env & | DisableTelemetryEvents () |
| | Wraps OrtApi::DisableTelemetryEvents.
|
| |
| Env & | UpdateEnvWithCustomLogLevel (OrtLoggingLevel log_severity_level) |
| | Wraps OrtApi::UpdateEnvWithCustomLogLevel.
|
| |
| Env & | CreateAndRegisterAllocator (const OrtMemoryInfo *mem_info, const OrtArenaCfg *arena_cfg) |
| | Wraps OrtApi::CreateAndRegisterAllocator.
|
| |
| Env & | CreateAndRegisterAllocatorV2 (const std::string &provider_type, const OrtMemoryInfo *mem_info, const std::unordered_map< std::string, std::string > &options, const OrtArenaCfg *arena_cfg) |
| | Wraps OrtApi::CreateAndRegisterAllocatorV2.
|
| |
| Env & | RegisterAllocator (OrtAllocator *allocator) |
| | Wraps OrtApi::RegisterAllocator.
|
| |
| Env & | UnregisterAllocator (const OrtMemoryInfo *mem_info) |
| | Wraps OrtApi::UnregisterAllocator.
|
| |
| UnownedAllocator | CreateSharedAllocator (const OrtEpDevice *ep_device, OrtDeviceMemoryType mem_type, OrtAllocatorType allocator_type, const OrtKeyValuePairs *allocator_options) |
| | Wraps OrtApi::CreateSharedAllocator.
|
| |
| UnownedAllocator | GetSharedAllocator (const OrtMemoryInfo *mem_info) |
| | Wraps OrtApi::GetSharedAllocator.
|
| |
| void | ReleaseSharedAllocator (const OrtEpDevice *ep_device, OrtDeviceMemoryType mem_type) |
| | Wraps OrtApi::ReleaseSharedAllocator.
|
| |
| Env & | RegisterExecutionProviderLibrary (const char *registration_name, const std::basic_string< char > &path) |
| | Wraps OrtApi::RegisterExecutionProviderLibrary.
|
| |
| Env & | UnregisterExecutionProviderLibrary (const char *registration_name) |
| | Wraps OrtApi::UnregisterExecutionProviderLibrary.
|
| |
| std::vector< ConstEpDevice > | GetEpDevices () const |
| |
| Status | CopyTensors (const std::vector< Value > &src_tensors, const std::vector< Value > &dst_tensors, OrtSyncStream *stream) const |
| | Wraps OrtApi::CopyTensors.
|
| |
| 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 |
| |
| constexpr contained_type & | operator* () const noexcept |
| |
| contained_type * | release () |
| | Relinquishes ownership of the contained C object pointer The underlying object is not destroyed.
|
| |
The Env (Environment)
The Env holds the logging state used by all other objects. Note: One Env must be created before using any other Onnxruntime functionality