mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-30 20:18:08 +00:00
Merged PR 6103324: Remove usage of non-generic error code (FWP_E_NULL_POINTER)
Motivation: Addressing Dwayne comment on the previous PR. [Ref: [6093117](https://dev.azure.com/microsoft/WindowsAI/_git/onnxruntime/pullrequest/6093117?discussionId=44292162&path=%2Fonnxruntime%2Fcore%2Fproviders%2Fdml%2FDmlExecutionProvider%2Fsrc%2FGraphPartitioner.cpp)] Changes: Inside the DML EP, we should not use some other platform specific error codes. Instead we should a appropriate generic error code. Related work items: #33076298
This commit is contained in:
parent
3f43a84e10
commit
bccf29210c
1 changed files with 1 additions and 1 deletions
|
|
@ -235,7 +235,7 @@ namespace Dml::GraphDescBuilder
|
|||
const onnxruntime::NodeArg* graphOutput = graph.GetNodeArg(
|
||||
GraphKernelHelper::GetFusedNodeArgNameMatchingGraph(fusedNodeOutputDefs[outputIndex]->Name()));
|
||||
|
||||
THROW_HR_IF_NULL_MSG(FWP_E_NULL_POINTER, graphOutput, "FusedNode's nodeArgList does not contain one of the nodeArg");
|
||||
THROW_HR_IF_NULL_MSG(E_POINTER, graphOutput, "FusedNode's nodeArgList does not contain one of the nodeArg");
|
||||
const auto& outputNodeAndIndex = nameToNodeAndIndexMap.at(graphOutput->Name());
|
||||
|
||||
DML_OUTPUT_GRAPH_EDGE_DESC edge = {};
|
||||
|
|
|
|||
Loading…
Reference in a new issue