Skip to content

Commit

Permalink
vsort/vs_onnxruntime.cpp: cosmetics
Browse files Browse the repository at this point in the history
  • Loading branch information
WolframRhodium committed Sep 7, 2024
1 parent 80350b1 commit 0e75073
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vsort/vs_onnxruntime.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1012,10 +1012,12 @@ static void VS_CC vsOrtCreate(
path_is_serialization = false;
}

#ifdef ENABLE_CUDA
bool use_cuda_graph = !!vsapi->propGetInt(in, "use_cuda_graph", 0, &error);
if (error) {
use_cuda_graph = false;
}
#endif // ENABLE_CUDA

int output_format = int64ToIntS(vsapi->propGetInt(in, "output_format", 0, &error));
if (error) {
Expand Down

0 comments on commit 0e75073

Please sign in to comment.