Skip to content

Add EP config options sample code to WindowsML samples - #588

Merged
Darshak Bhatti (dabhattimsft) merged 7 commits into
mainfrom
user/dabhatti/sampleUpdate22
Feb 2, 2026
Merged

Add EP config options sample code to WindowsML samples#588
Darshak Bhatti (dabhattimsft) merged 7 commits into
mainfrom
user/dabhatti/sampleUpdate22

Conversation

@dabhattimsft

@dabhattimsft Darshak Bhatti (dabhattimsft) commented Jan 29, 2026

Copy link
Copy Markdown
Contributor

Description

Adds PerformanceConfigurator.h/.cs which adds sample code for setting config options. Adds command-line option --perf_mode for console apps and adds check-box for ui apps.

Cpp GenAI Sample uses GenAIPerformanceConfigurator.h and is now self-contained so that it loads onnxruntime.dll from WinAppSDK instead of system32.

Updates WinAppSDK package versions for sample

Target Release

1.8

Checklist

Note that /azp run currently isn't working for this repo.

Comment thread Samples/WindowsML/cpp/CppConsoleDesktop/CppConsoleDesktop.cpp
Comment thread Samples/WindowsML/Shared/openvino_efficiency.json
@dabhattimsft
Darshak Bhatti (dabhattimsft) merged commit f4b5ea7 into main Feb 2, 2026
4 checks passed
@dabhattimsft
Darshak Bhatti (dabhattimsft) deleted the user/dabhatti/sampleUpdate22 branch February 2, 2026 17:52
shisan (qiutongMS) pushed a commit that referenced this pull request Aug 25, 2026
Align the WindowsML central package set with stable Windows App SDK 2.1.3 and port the main-only EP performance chain from PRs #588, #634, #635, #629, #642, and #643.

Preserve release Central Package Management, defer the PR #643 legacy sample removals to final integration review, and record the x64 Release validation.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants