Skip to content

Commit

Permalink
vsort/vs_onnxruntime.cpp: fix for standalone dml backend compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
WolframRhodium committed Sep 7, 2024
1 parent d6fa596 commit f247735
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vsort/vs_onnxruntime.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1238,7 +1238,7 @@ static void VS_CC vsOrtCreate(
}
#endif // ENABLE_COREML
#ifdef ENABLE_DML
else if (d->backend == Backend::DML) {
if (d->backend == Backend::DML) {
const OrtDmlApi * ortdmlapi {};
checkError(ortapi->GetExecutionProviderApi("DML", ORT_API_VERSION, (const void **) &ortdmlapi));
checkError(ortdmlapi->SessionOptionsAppendExecutionProvider_DML(session_options, d->device_id));
Expand Down

0 comments on commit f247735

Please sign in to comment.