From dbf777c294318b9ca6d35a02af733bde1744fae7 Mon Sep 17 00:00:00 2001 From: lidanqing-intel Date: Sun, 27 Sep 2020 08:35:26 +0200 Subject: [PATCH] update --- deploy/cpp_infer/src/main.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/deploy/cpp_infer/src/main.cpp b/deploy/cpp_infer/src/main.cpp index eaec2cb9..51e90544 100644 --- a/deploy/cpp_infer/src/main.cpp +++ b/deploy/cpp_infer/src/main.cpp @@ -69,10 +69,8 @@ int main(int argc, char **argv) { config.char_list_file); #ifdef USE_MKL - // test omp parallel int i; - std::cout << "...........Testing MKL......... " << omp_get_num_threads() - << std::endl; + std::cout << ">>>>>>>>>>>>>>> Testing MKL <<<<<<<<<<<<<<<<< " << std::endl; #pragma omp parallel for private(i) for (i = 0; i < 50; i++) { std::cout << "omp_get_num_threads(): " << omp_get_num_threads() @@ -80,7 +78,8 @@ int main(int argc, char **argv) { int tid = omp_get_thread_num(); std::cout << "Log from omp thread " << tid << std::endl; } - + std::cout << ">>>>>>>>>>>>>>> Testing MKL Finished <<<<<<<<<<<<<<<<< " + << std::endl; #endif auto start = std::chrono::system_clock::now();