Skip to content

Conversation

@psakhamoori
Copy link
Contributor

Description

Update OrtEpFactory in new EPs to add allocator, data transfer and stream stubs.

Motivation and Context

@psakhamoori
Copy link
Contributor Author

@microsoft-github-policy-service agree company="Microsoft"

@psakhamoori
Copy link
Contributor Author

@skottmckay @nieubank Could you please help review this PR?

@skottmckay
Copy link
Contributor

/azp run Windows ARM64 QNN CI Pipeline,Windows x64 QNN CI Pipeline,Windows GPU Doc Gen CI Pipeline,Win_TRT_Minimal_CUDA_Test_CI,Linux QNN CI Pipeline

@azure-pipelines
Copy link

Azure Pipelines successfully started running 5 pipeline(s).

@snnn snnn merged commit 131cf40 into microsoft:main Jul 30, 2025
100 of 111 checks passed
psakhamoori added a commit to psakhamoori/onnxruntime that referenced this pull request Aug 5, 2025
### Description
Update OrtEpFactory in new EPs to add allocator, data transfer and
stream stubs.

### Motivation and Context
nieubank pushed a commit that referenced this pull request Aug 7, 2025
Cherry-pick MiGraphX EP fixes from upstream for rel-1.23.0

This PR cherry-picks three critical fixes for the MiGraphX Execution
Provider:

1. Fix compilation after cherry-picking from win-onnxruntime (#25516)
- Adds ORT_UNUSED_PARAMETER(num_devices) to fix unused parameter warning
   - Corrects struct usage in CreateIExecutionProvider method
   
2. Fix CreateExecutionProviderFactory with correct struct and change
vendor_id (#25625)
- Updates vendor_id from 0x1002 to 0x9999 to allow DML EP to be default
   - Ensures proper device ordering in provider_policy_context.cc

3. Update OrtEpFactory in MiGraphX EP (#25567)
   - Adds complete OrtEpFactory infrastructure for auto EP selection
   - Implements all required factory methods with noexcept specifiers
   - Sets ort_version_supported to ORT_API_VERSION
- Enables MiGraphX/AMDGPU EP integration with hardware device detection

These fixes ensure MiGraphX EP builds correctly and integrates properly
with
the ORT execution provider selection framework in the 1.23.0 release.

Cherry-picked commits:
- 87f1499
- 14ca6df  
- 131cf40

---------

Co-authored-by: Artur Wojcik <artur.wojcik@amd.com>
Co-authored-by: Owen Zhang <owen_zzz@hotmail.com>
Co-authored-by: ozhang <ozhang@amd.com>
sanketkaleoss pushed a commit to sanketkaleoss/onnxruntime that referenced this pull request Aug 11, 2025
### Description
Update OrtEpFactory in new EPs to add allocator, data transfer and
stream stubs.

### Motivation and Context
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.

3 participants