// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #pragma once #if !defined(ORT_MINIMAL_BUILD) #include #include #include "core/common/common.h" /// /// Contains information about a node assigned to an EP. This is the definition of an opaque struct in the C API. /// struct OrtEpAssignedNode { std::string name; std::string domain; std::string op_type; }; /// /// Contains information about a subgraph assigned to an EP by the session graph partitioner. /// This is the definition of an opaque struct in the C API. /// struct OrtEpAssignedSubgraph { OrtEpAssignedSubgraph() = default; OrtEpAssignedSubgraph(OrtEpAssignedSubgraph&&) = default; OrtEpAssignedSubgraph& operator=(OrtEpAssignedSubgraph&&) = default; ORT_DISALLOW_COPY_AND_ASSIGNMENT(OrtEpAssignedSubgraph); std::string ep_name; std::vector> nodes_storage; std::vector nodes; }; #endif // !defined(ORT_MINIMAL_BUILD)