From: Debian Science Team Date: Thu, 27 Jul 2017 18:06:14 +0000 (+0100) Subject: remove-openmp-warning X-Git-Tag: archive/raspbian/0.2.20+ds-4+rpi1~1^2~5 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=6baa0a9c3aea5236b36938db8854b5d70495ef28;p=openblas.git remove-openmp-warning Gbp-Pq: Name remove-openmp-warning.patch --- diff --git a/driver/others/blas_server.c b/driver/others/blas_server.c index 9debe17..d879f87 100644 --- a/driver/others/blas_server.c +++ b/driver/others/blas_server.c @@ -790,16 +790,6 @@ int exec_blas(BLASLONG num, blas_queue_t *queue){ fprintf(STDERR, "Exec_blas is called. Number of executing threads : %ld\n", num); #endif -#ifdef __ELF__ - if (omp_in_parallel && (num > 1)) { - if (omp_in_parallel() > 0) { - fprintf(stderr, - "OpenBLAS Warning : Detect OpenMP Loop and this application may hang. " - "Please rebuild the library with USE_OPENMP=1 option.\n"); - } - } -#endif - if ((num > 1) && queue -> next) exec_blas_async(1, queue -> next); #ifdef TIMING_DEBUG