|
@@ -135,7 +135,7 @@ struct starpu_data_interface_ops
|
|
|
/* Pack the data handle into a contiguous buffer at the address ptr and store the size of the buffer in count */
|
|
|
int (*pack_data)(starpu_data_handle_t handle, uint32_t node, void **ptr, size_t *count);
|
|
|
/* Unpack the data handle from the contiguous buffer at the address ptr */
|
|
|
- int (*unpack_data)(starpu_data_handle_t handle, uint32_t node, void *ptr);
|
|
|
+ int (*unpack_data)(starpu_data_handle_t handle, uint32_t node, void *ptr, size_t count);
|
|
|
};
|
|
|
|
|
|
/* Return the next available id for a data interface */
|
|
@@ -435,7 +435,7 @@ void starpu_multiformat_data_register(starpu_data_handle_t *handle, uint32_t hom
|
|
|
enum starpu_data_interface_id starpu_handle_get_interface_id(starpu_data_handle_t handle);
|
|
|
|
|
|
int starpu_handle_pack_data(starpu_data_handle_t handle, void **ptr, size_t *count);
|
|
|
-int starpu_handle_unpack_data(starpu_data_handle_t handle, void *ptr);
|
|
|
+int starpu_handle_unpack_data(starpu_data_handle_t handle, void *ptr, size_t count);
|
|
|
size_t starpu_handle_get_size(starpu_data_handle_t handle);
|
|
|
|
|
|
/* Lookup a ram pointer into a StarPU handle */
|