浏览代码

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

Nathalie Furmento 11 年之前
父节点
当前提交
aca75843d1
共有 1 个文件被更改,包括 2 次插入0 次删除
  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)
 {