Skip to content

Conversation

@skottmckay
Copy link
Contributor

Description

GetDeviceInfoIfSupported -> GetSupportedDevices

EP sees all devices so it can make decisions with full knowledge. This is mainly applicable to GPU EPs like WebGPU.

EP has to iterate device and call CreateEpDevice for devices it supports.

Motivation and Context

Add C++ wrappers.
@skottmckay skottmckay marked this pull request as ready for review April 28, 2025 04:42
@skottmckay skottmckay merged commit a96fab3 into main Apr 29, 2025
78 of 88 checks passed
@skottmckay skottmckay deleted the skottmckay/pass_all_devices_to_ep_when_checking_what_is_supported branch April 29, 2025 03:52
vraspar pushed a commit that referenced this pull request May 1, 2025
…ull knowledge (#24568)

<!-- Describe your changes. -->
GetDeviceInfoIfSupported -> GetSupportedDevices

EP sees all devices so it can make decisions with full knowledge. This
is mainly applicable to GPU EPs like WebGPU.

EP has to iterate device and call CreateEpDevice for devices it
supports.
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->
jywu-msft pushed a commit that referenced this pull request May 1, 2025
### Description

Cherry pick the following into
[rel-1.22.0](https://github.com/microsoft/onnxruntime/tree/rel-1.22.0)

- (#24491)
- (#24509)
- (#24564)
- (#24574)
- (#24582)
- (#24584)
- (#24568)
- (#24587)
- (#24563)
- (#24592)
- (#24526)
- (#24552)
- (#24588)
- (#24605)
- (#24606)

---------

Co-authored-by: Jing Fang <[email protected]>
Co-authored-by: Tianlei Wu <[email protected]>
Co-authored-by: Baiju Meswani <[email protected]>
Co-authored-by: Scott McKay <[email protected]>
Co-authored-by: Mark Schofield <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Edward Chen <[email protected]>
Co-authored-by: Ashwath Shankarnarayan <[email protected]>
Co-authored-by: saurabh <[email protected]>
Co-authored-by: Adrian Lizarraga <[email protected]>
Co-authored-by: Hector Li <[email protected]>
ankitm3k pushed a commit to intel/onnxruntime that referenced this pull request May 12, 2025
…ull knowledge (microsoft#24568)

### Description
<!-- Describe your changes. -->
GetDeviceInfoIfSupported -> GetSupportedDevices

EP sees all devices so it can make decisions with full knowledge. This
is mainly applicable to GPU EPs like WebGPU.

EP has to iterate device and call CreateEpDevice for devices it
supports.

### 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. -->
@snnn
Copy link
Contributor

snnn commented Sep 5, 2025

This PR has been included in the rel-1.22.0 branch. Removing the release:1.22.0 label.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants