diff --git a/onnxruntime/test/perftest/performance_runner.cc b/onnxruntime/test/perftest/performance_runner.cc index e0f52f9221..7820639946 100644 --- a/onnxruntime/test/perftest/performance_runner.cc +++ b/onnxruntime/test/perftest/performance_runner.cc @@ -143,9 +143,6 @@ Status PerformanceRunner::ForkJoinRepeat() { std::condition_variable cv; // Fork - counter.load(std::memory_order_seq_cst); - requests.load(std::memory_order_seq_cst); - for (size_t i = 0; i != run_config.concurrent_session_runs; ++i) { counter++; tpool->Schedule([this, &counter, &requests, &m, &cv, &run_config]() {