Browse Source

make function starpu_data_test_if_allocated_on_node public, it is needed for users to define new data interfaces with a handle_to_pointer operation

Nathalie Furmento 13 years ago
parent
commit
dedad35f5f
2 changed files with 2 additions and 2 deletions
  1. 2 0
      include/starpu_data.h
  2. 0 2
      src/datawizard/coherency.h

+ 2 - 0
include/starpu_data.h

@@ -134,6 +134,8 @@ int starpu_data_get_rank(starpu_data_handle_t handle);
 int starpu_data_set_tag(starpu_data_handle_t handle, int tag);
 int starpu_data_get_tag(starpu_data_handle_t handle);
 
+unsigned starpu_data_test_if_allocated_on_node(starpu_data_handle_t handle, uint32_t memory_node);
+
 #ifdef __cplusplus
 }
 #endif

+ 0 - 2
src/datawizard/coherency.h

@@ -253,8 +253,6 @@ __attribute__((warn_unused_result))
 int _starpu_fetch_task_input(struct _starpu_job *j, uint32_t mask);
 
 unsigned _starpu_is_data_present_or_requested(struct _starpu_data_state *state, uint32_t node);
-unsigned starpu_data_test_if_allocated_on_node(starpu_data_handle_t handle, uint32_t memory_node);
-
 
 uint32_t _starpu_select_src_node(struct _starpu_data_state *state, unsigned destination);