getfem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Getfem-commits] [getfem-commits] branch master updated: minor change :


From: Yves Renard
Subject: [Getfem-commits] [getfem-commits] branch master updated: minor change : suppress an output message
Date: Wed, 03 Jun 2020 05:04:50 -0400

This is an automated email from the git hooks/post-receive script.

renard pushed a commit to branch master
in repository getfem.

The following commit(s) were added to refs/heads/master by this push:
     new 92b8ba7  minor change : suppress an output message
92b8ba7 is described below

commit 92b8ba7f21b6dd4ea39f2f81eeee2493cf9f9efc
Author: Yves Renard <Yves.Renard@insa-lyon.fr>
AuthorDate: Wed Jun 3 11:04:34 2020 +0200

    minor change : suppress an output message
---
 src/getfem_omp.cc | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/src/getfem_omp.cc b/src/getfem_omp.cc
index 4089a86..fdc1885 100644
--- a/src/getfem_omp.cc
+++ b/src/getfem_omp.cc
@@ -378,7 +378,6 @@ namespace getfem{
     typedef int (* ptrfunc1)();                                         \
     ptrfunc1 func1 = ptrfunc1(dlsym(NULL, "openblas_get_num_threads")); \
     if (func1) openblas_get_num_threads_res = (*func1)();               \
-    std::cout << "numthread = " << openblas_get_num_threads_res << std::endl; \
     typedef void (* ptrfunc2)(int);                                     \
     ptrfunc2 func2 = ptrfunc2(dlsym(NULL, "openblas_set_num_threads")); \
     if (func2) (*func2)(1);                                             \
@@ -396,10 +395,8 @@ namespace getfem{
 
 
   struct dummy_class_for_blas_nbthread_init {
-    dummy_class_for_blas_nbthread_init(void) {
-      std::cout << "initializing ..." << std::endl;
-      BLAS_FORCE_SINGLE_THREAD;
-    }
+    dummy_class_for_blas_nbthread_init(void)
+    { BLAS_FORCE_SINGLE_THREAD; }
   };
 
   static dummy_class_for_blas_nbthread_init dcfbnti;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]