Skip to content

Commit

Permalink
Fix regression in perf test runner (microsoft#18139)
Browse files Browse the repository at this point in the history
  • Loading branch information
hariharans29 authored Oct 30, 2023
1 parent 0e34100 commit 8ebdd3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion onnxruntime/test/perftest/ort_test_session.cc
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ OnnxRuntimeTestSession::OnnxRuntimeTestSession(Ort::Env& env, std::random_device

buffer.emplace_back("do_copy_in_default_stream");
option_keys.push_back(buffer.back().c_str());
buffer.emplace_back(performance_test_config.run_config.do_cuda_copy_in_separate_stream ? "1" : "0");
buffer.emplace_back(!performance_test_config.run_config.do_cuda_copy_in_separate_stream ? "1" : "0");
option_values.push_back(buffer.back().c_str());

#ifdef _MSC_VER
Expand Down

0 comments on commit 8ebdd3b

Please sign in to comment.