Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Update comment
  • Loading branch information
adrianlizarraga committed Sep 25, 2025
commit cdf105275749f9acb4708634f72ec9373fbb0d06
2 changes: 1 addition & 1 deletion onnxruntime/test/framework/ep_plugin_provider_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@
// already assigned to another EP.
TEST(PluginExecutionProviderTest, GetCapability_ClaimOnlyNodesAssignedToOtherEP) {
auto [ep, ort_ep] = test_plugin_ep::MakeTestOrtEp();
ort_ep->GetCapability = GetCapabilityTakeAllNodes;

Check failure on line 364 in onnxruntime/test/framework/ep_plugin_provider_test.cc

View workflow job for this annotation

GitHub Actions / build_x86_release

'=': cannot convert from 'OrtStatus *(__cdecl *)(OrtEp *,const OrtGraph *,OrtEpGraphSupportInfo *) noexcept' to 'OrtStatusPtr (__stdcall *)(OrtEp *,const OrtGraph *,OrtEpGraphSupportInfo *) noexcept'

// Load a model and forcibly assign the only Mul node to another EP named 'OtherEp'.
std::shared_ptr<Model> model;
Expand Down Expand Up @@ -406,7 +406,7 @@
// nodes that are already assigned to another EP.
TEST(PluginExecutionProviderTest, GetCapability_ClaimSomeNodesAssignedToOtherEP) {
auto [ep, ort_ep] = test_plugin_ep::MakeTestOrtEp();
ort_ep->GetCapability = GetCapabilityTakeAllNodes;

Check failure on line 409 in onnxruntime/test/framework/ep_plugin_provider_test.cc

View workflow job for this annotation

GitHub Actions / build_x86_release

'=': cannot convert from 'OrtStatus *(__cdecl *)(OrtEp *,const OrtGraph *,OrtEpGraphSupportInfo *) noexcept' to 'OrtStatusPtr (__stdcall *)(OrtEp *,const OrtGraph *,OrtEpGraphSupportInfo *) noexcept'

// Load a model and forcibly assign only the first Add node to another EP named 'OtherEp'.
// Other nodes are unassigned and should be taken by the test plugin EP.
Expand All @@ -427,7 +427,7 @@
}

// Call IExecutionProvider::GetCapability. The underlying OrtEp will try to take all nodes.
// Should not crash and should return an empty result.
// Should not crash and should return a single compute capability with 2 out of the 3 nodes.
{
logging::LoggingManager log_manager{std::make_unique<logging::FileSink>(log_file, false, false),
logging::Severity::kWARNING, false,
Expand Down
Loading