From 262ee9dc5a7e33337206250587ef2a2245acb708 Mon Sep 17 00:00:00 2001 From: Changming Sun Date: Fri, 6 Dec 2019 11:21:47 -0800 Subject: [PATCH] Fix a warning found in the latest VS release --- onnxruntime/test/perftest/performance_runner.cc | 3 --- 1 file changed, 3 deletions(-) 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]() {