From b28b19ae3de021f57c2671942cd19923b5776a81 Mon Sep 17 00:00:00 2001 From: Debian Science Team Date: Tue, 31 Jul 2018 17:28:12 +0100 Subject: [PATCH] remove-openmp-warning Gbp-Pq: Name remove-openmp-warning.patch --- driver/others/blas_server.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/driver/others/blas_server.c b/driver/others/blas_server.c index 794dfb2..c4e87a1 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 -- 2.30.2