You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add APIs OrtApi::CreateEnvWithOptions() and OrtEpApi::GetEnvConfigEntries() (microsoft#26971)
### Description
- Adds API `CreateEnvWithOptions` that allows the user to pass in a
`OrtEnvCreationOptions` struct that aggregates all env creation options
(log id, logging level, custom logger, thread pool options, etc.).
- The new `OrtEnvCreationOptions` struct also allows the application to
provide an `OrtKeyValuePairs` containing general configuration entries.
- Adds EP API `GetEnvConfigEntries` that returns the environment's
configuration entries as a `OrtKeyValuePairs` instance.
- Remove `OrtEpFactory::SetEnvironmentOptions` and update example EP to
pull the necessary configuration entry via the new api
`GetEnvConfigEntries`.
### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->
0 commit comments