Skip to content

Test-only (do not merge): build the umbrella EP with hip as its only backend - #122

Draft
zz002 wants to merge 1 commit into
onnxruntime:mainfrom
zz002:build/amdgpu-hip-only-backend
Draft

zz002 wants to merge 1 commit into
onnxruntime:mainfrom
zz002:build/amdgpu-hip-only-backend

Conversation

@zz002

@zz002 zz002 commented Sep 15, 2026

Copy link
Copy Markdown
Collaborator

Summary

Test-only draft. Builds the umbrella EP with hip as its only backend (no MIGraphX).

Why

ProviderFactory loads migraphx-backend in its constructor. When that backend is not built, amdgpu-ep.dll fails to load.

What

FORCE USE_MIGRAPHX=OFF / USE_HIP=ON. Gate MGX code and CMake on USE_MIGRAPHX. Registration-time DataTransfer is already on main; this PR does not touch it.

Test plan

  • USE_AMDGPU=ON produces amdgpu-ep.dll + hip-backend.dll
  • Does not produce migraphx-backend.dll / problem_cache.json

Notes for reviewers

Do not merge.

Test-only: FORCE USE_MIGRAPHX off and USE_HIP on, and gate MGX load and routing on the macro.

Co-Authored-By: Cursor <cursoragent@cursor.com>
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.

1 participant