Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/amdgpu/gpu_ep.cc
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ ExecutionProvider::ExecutionProvider(ProviderFactory& factory, std::string_view
}

const ProviderInfo info{provider_options};
backend_ = BackendForProfile(info.profile);

// Telemetry is an internal EP facility. It is enabled by default and uses the
// platform default directory (LocalLow on Windows).
Expand Down Expand Up @@ -296,6 +295,7 @@ ExecutionProvider::ExecutionProvider(ProviderFactory& factory, std::string_view
// Explicit profile is honored; Auto/Optimized derives from (ASIC, model_arch). select_backend()
// (inside route_by_heuristic) applies both, so the result covers every profile value.
const Profile effective = route_by_heuristic();
backend_ = BackendForProfile(effective);

#ifdef USE_DML
if (effective == Profile::Eager) {
Expand Down
Loading