Browse Source

Make ___starpu_datawizard_progress static

Nobody would really need to call it.
Samuel Thibault 4 years ago
parent
commit
930bb866fc
2 changed files with 2 additions and 5 deletions
  1. 1 1
      src/datawizard/datawizard.c
  2. 1 4
      src/datawizard/datawizard.h

+ 1 - 1
src/datawizard/datawizard.c

@@ -26,7 +26,7 @@
 #include <core/simgrid.h>
 #include <core/simgrid.h>
 #endif
 #endif
 
 
-int ___starpu_datawizard_progress(unsigned memory_node, unsigned peer_node, enum _starpu_data_request_inout inout, unsigned may_alloc, unsigned push_requests)
+static int ___starpu_datawizard_progress(unsigned memory_node, unsigned peer_node, enum _starpu_data_request_inout inout, unsigned may_alloc, unsigned push_requests)
 {
 {
 	int ret = 0;
 	int ret = 0;
 
 

+ 1 - 4
src/datawizard/datawizard.h

@@ -34,16 +34,13 @@
 
 
 #include <core/dependencies/implicit_data_deps.h>
 #include <core/dependencies/implicit_data_deps.h>
 
 
-/** Make data transfers progress on node \p memory_node.
+/** Make data transfers progress on all memory nodes driven by the current worker.
  *
  *
  * If \p push_requests is 1, it can start new transfers
  * If \p push_requests is 1, it can start new transfers
  *
  *
  * If \p may_alloc is 1, it can allocate destination data for transfers
  * If \p may_alloc is 1, it can allocate destination data for transfers
  * (this is not possible e.g. when spinning for a handle lock)
  * (this is not possible e.g. when spinning for a handle lock)
  */
  */
-int ___starpu_datawizard_progress(unsigned memory_node, unsigned peer_node, enum _starpu_data_request_inout inout, unsigned may_alloc, unsigned push_requests);
-/** Call ___starpu_datawizard_progress() for all memory nodes driven by the
- * current worker */
 int __starpu_datawizard_progress(unsigned may_alloc, unsigned push_requests);
 int __starpu_datawizard_progress(unsigned may_alloc, unsigned push_requests);
 /** Call __starpu_datawizard_progress with push_requests = 1 */
 /** Call __starpu_datawizard_progress with push_requests = 1 */
 void _starpu_datawizard_progress(unsigned may_alloc);
 void _starpu_datawizard_progress(unsigned may_alloc);