From: Debian Science Team Date: Fri, 7 Dec 2018 14:49:27 +0000 (+0000) Subject: remove-openmp-warning X-Git-Tag: archive/raspbian/0.3.4+ds-1+rpi1^2~5 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=6b3a7f87ea3fcfe8d1611678d89e775f3107cd0f;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 e5db180..83d2775 100644 --- a/driver/others/blas_server.c +++ b/driver/others/blas_server.c @@ -796,16 +796,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