feat: rename MorphiZenEP integration to AMDGPU (load amdgpu-ep.dll) - #12
Merged
AMDmoore merged 1 commit intoJun 18, 2026
Merged
Conversation
Rename the OGA execution provider integration from MorphiZenEP to AMDGPU so it targets the AMD GPU umbrella EP (amdgpu-ep.dll) instead of loading onnxruntime_morphizen_ep.dll directly. The umbrella forwards to the HIP backend, selected via the "profile" provider option.
- Rename src/morphizen_ep -> src/amdgpu and DeviceType::MorphiZenEP -> DeviceType::AMDGPU across generators.cpp, model.cpp, the session_options dispatch table, smartptrs.h, and the cmake source glob.
- interface.cpp: register the EP as "amdgpu", load amdgpu-ep.dll (libamdgpu-ep.so), env override AMDGPU_EP_PATH. SetupProvider also mirrors provider options into ep.<name>.* session config entries since the umbrella reads them from there.
- EnsureDeviceOrtInit: the device-init dummy session reuses the AMDGPU provider options from genai_config so the umbrella can select its backend; no profile is hardcoded.
genai_config.json selects it via: "provider_options": [{ "AMDGPU": {"profile": "llm"} }]
Co-authored-by: Cursor <cursoragent@cursor.com>
AMDmoore
merged commit Jun 18, 2026
74b2ef2
into
AMDmoore:dynamic-shape-morphizen-pr
1 of 11 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Retarget the OGA execution provider integration from MorphiZenEP to the AMD GPU umbrella EP (
amdgpu-ep.dll), so OGA loads the umbrella instead ofonnxruntime_morphizen_ep.dlldirectly. The umbrella forwards to the HIP backend, selected via theprofileprovider option.src/morphizen_ep->src/amdgpuandDeviceType::MorphiZenEP->DeviceType::AMDGPUacrossgenerators.cpp,model.cpp, thesession_optionsdispatch table,smartptrs.h, and the cmake source glob.interface.cpp: register the EP asamdgpu, loadamdgpu-ep.dll/libamdgpu-ep.so, env overrideAMDGPU_EP_PATH.SetupProvideralso mirrors provider options intoep.<name>.*session config entries, which is where the umbrella reads them.EnsureDeviceOrtInit: the device-init dummy session reuses theAMDGPUprovider options fromgenai_config.jsonso the umbrella can select its backend (the umbrella requires a profile; nothing is hardcoded).Config selects it via: