Sfoglia il codice sorgente

mpi/src/starpu_mpi.c: only define function _starpu_mpi_copy_handle_display_hash when STARPU_VERBOSE is enabled

Nathalie Furmento 11 anni fa
parent
commit
aca75843d1
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      mpi/src/starpu_mpi.c

+ 2 - 0
mpi/src/starpu_mpi.c

@@ -148,6 +148,7 @@ static void delete_app_req(struct _starpu_mpi_req *req)
 	}
 }
 
+#ifdef STARPU_VERBOSE
 static void _starpu_mpi_copy_handle_display_hash(int source, int tag)
 {
 	struct _starpu_mpi_copy_handle_hashlist *hashlist;
@@ -172,6 +173,7 @@ static void _starpu_mpi_copy_handle_display_hash(int source, int tag)
 		}
 	}
 }
+#endif
 
 static struct _starpu_mpi_copy_handle *pop_chandle(int mpi_tag, int source, int delete)
 {