|
@@ -52,7 +52,7 @@ static void register_block_handle(starpu_data_handle handle, uint32_t home_node,
|
|
|
static size_t allocate_block_buffer_on_node(starpu_data_handle handle, uint32_t dst_node);
|
|
|
static void liberate_block_buffer_on_node(void *interface, uint32_t node);
|
|
|
static size_t block_interface_get_size(starpu_data_handle handle);
|
|
|
-static uint32_t footprint_block_interface_crc32(starpu_data_handle handle, uint32_t hstate);
|
|
|
+static uint32_t footprint_block_interface_crc32(starpu_data_handle handle);
|
|
|
static void display_block_interface(starpu_data_handle handle, FILE *f);
|
|
|
#ifdef USE_GORDON
|
|
|
static int convert_block_to_gordon(void *interface, uint64_t *ptr, gordon_strideSize_t *ss);
|
|
@@ -129,21 +129,20 @@ void starpu_register_block_data(starpu_data_handle *handleptr, uint32_t home_nod
|
|
|
register_data_handle(handleptr, home_node, &interface, &interface_block_ops);
|
|
|
}
|
|
|
|
|
|
-static inline uint32_t footprint_block_interface_generic(uint32_t (*hash_func)(uint32_t input, uint32_t hstate), starpu_data_handle handle, uint32_t hstate)
|
|
|
+static inline uint32_t footprint_block_interface_generic(uint32_t (*hash_func)(uint32_t input, uint32_t hstate), starpu_data_handle handle)
|
|
|
{
|
|
|
uint32_t hash;
|
|
|
|
|
|
- hash = hstate;
|
|
|
- hash = hash_func(starpu_get_block_nx(handle), hash);
|
|
|
+ hash = hash_func(starpu_get_block_nx(handle), 0);
|
|
|
hash = hash_func(starpu_get_block_ny(handle), hash);
|
|
|
hash = hash_func(starpu_get_block_nz(handle), hash);
|
|
|
|
|
|
return hash;
|
|
|
}
|
|
|
|
|
|
-static uint32_t footprint_block_interface_crc32(starpu_data_handle handle, uint32_t hstate)
|
|
|
+static uint32_t footprint_block_interface_crc32(starpu_data_handle handle)
|
|
|
{
|
|
|
- return footprint_block_interface_generic(crc32_be, handle, hstate);
|
|
|
+ return footprint_block_interface_generic(crc32_be, handle);
|
|
|
}
|
|
|
|
|
|
static void display_block_interface(starpu_data_handle handle, FILE *f)
|