remove-openmp-warning
authorDebian Science Team <debian-science-maintainers@lists.alioth.debian.org>
Tue, 31 Jul 2018 16:28:12 +0000 (17:28 +0100)
committerSébastien Villemot <sebastien@debian.org>
Tue, 31 Jul 2018 16:28:12 +0000 (17:28 +0100)
Gbp-Pq: Name remove-openmp-warning.patch

driver/others/blas_server.c

index 794dfb20eab55da1fb1bc6f3f2f87229948e5d32..c4e87a16e5701c1bb3b59e6eb564e1ffb211169f 100644 (file)
@@ -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