Commit 14ca6df
[MIGraphX EP] Fix CreateExecutionProviderFactory with correct struct and change vendor_id (microsoft#25625)
This fixes the CreateIExecutionProvider for MIGraphX EP when calling
CreateExecutionProviderFactory, using OrtMIGraphXProviderOptions instead
of ProviderOptions.
Also changes the vendor_id so that OrderDevices in
provider_policy_context.cc will default dml ep when ep_policy is set to
GPU. Will update pending more changes to MIGraphX EP.
Co-authored-by: ozhang <ozhang@amd.com>1 parent 9ecd9f3 commit 14ca6df
File tree
1 file changed
+6
-2
lines changed- onnxruntime/core/providers/migraphx
1 file changed
+6
-2
lines changedLines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
158 | | - | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
159 | 162 | | |
160 | 163 | | |
161 | 164 | | |
| |||
309 | 312 | | |
310 | 313 | | |
311 | 314 | | |
312 | | - | |
| 315 | + | |
| 316 | + | |
313 | 317 | | |
314 | 318 | | |
315 | 319 | | |
| |||
0 commit comments