Skip to content

Commit

Permalink
Temporary change for constant graph node enumeration
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffbloo committed Oct 2, 2023
1 parent 80479dd commit 660a407
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -283,11 +283,6 @@ namespace DmlGraphFusionHelper
DML_PREVIEW_OPERATOR_FIRST = 0xC0000000,
};

enum DML_GRAPH_NODE_TYPE_PREVIEW
{
DML_GRAPH_NODE_TYPE_CONSTANT_DATA = 0xCC000000,
};

struct DML_CONSTANT_DATA_GRAPH_NODE_DESC_PREVIEW
{
const BYTE* data;
Expand Down Expand Up @@ -324,7 +319,8 @@ namespace DmlGraphFusionHelper
nodeInfo.name.data()
};

dmlGraphNodes[i] = DML_GRAPH_NODE_DESC{(DML_GRAPH_NODE_TYPE) DML_GRAPH_NODE_TYPE_CONSTANT_DATA, &dmlConstantGraphNodes[i]};
// TODO: Change as new header is ingested
dmlGraphNodes[i] = DML_GRAPH_NODE_DESC{(DML_GRAPH_NODE_TYPE) 2, &dmlConstantGraphNodes[i]};
}
}

Expand Down

0 comments on commit 660a407

Please sign in to comment.