remove-openmp-warning
authorDebian Science Team <debian-science-maintainers@lists.alioth.debian.org>
Sat, 6 May 2017 13:22:06 +0000 (13:22 +0000)
committerSébastien Villemot <sebastien@debian.org>
Sat, 6 May 2017 13:22:06 +0000 (13:22 +0000)
Gbp-Pq: Name remove-openmp-warning.patch

driver/others/blas_server.c

index 42cadf4b5dd697067cba062440edef649353c78a..7a7285516b3a39b5244aa54bc9cc4441da677fa2 100644 (file)
@@ -751,16 +751,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