Explorar o código

Rename starpu_bcsr_filter_block to starpu_bcsr_filter_vertical_block in coherence with starpu_csr_filter_vertical_block

Samuel Thibault %!s(int64=5) %!d(string=hai) anos
pai
achega
605d21b267

+ 1 - 1
ChangeLog

@@ -42,7 +42,7 @@ Small features:
   * New environment variables STARPU_BUS_STATS_FILE and
     STARPU_WORKER_STATS_FILE to specify files in which to display
     statistics about data transfers and workers.
-  * Add starpu_bcsr_filter_block filtering function.
+  * Add starpu_bcsr_filter_vertical_block filtering function.
 
 StarPU 1.3.3 (git revision 11afc5b007fe1ab1c729b55b47a5a98ef7f3cfad)
 ====================================================================

+ 1 - 1
doc/doxygen/chapters/310_data_management.doxy

@@ -185,7 +185,7 @@ StarPU provides an example on how to deal with such matrices in
 
 BCSR data handles can be partitioned into its dense matrix blocks by using
 starpu_bcsr_filter_canonical_block(), or split into other BCSR data handles by
-using starpu_bcsr_filter_block() (but only split along the leading dimension is
+using starpu_bcsr_filter_vertical_block() (but only split along the leading dimension is
 supported, i.e. along adjacent nnz blocks)
 
 \subsection CSRDataInterface CSR Data Interface

+ 1 - 1
include/starpu_data_filters.h

@@ -328,7 +328,7 @@ struct starpu_data_interface_ops *starpu_bcsr_filter_canonical_block_child_ops(s
 
    The split is done along the leading dimension, i.e. along adjacent nnz blocks.
 */
-void starpu_bcsr_filter_block(void *father_interface, void *child_interface, struct starpu_data_filter *f, unsigned id, unsigned nparts);
+void starpu_bcsr_filter_vertical_block(void *father_interface, void *child_interface, struct starpu_data_filter *f, unsigned id, unsigned nparts);
 
 /** @} */
 

+ 1 - 1
src/datawizard/interfaces/bcsr_filters.c

@@ -20,7 +20,7 @@
 #include <common/config.h>
 #include <datawizard/filters.h>
 
-void starpu_bcsr_filter_block(void *father_interface, void *child_interface, STARPU_ATTRIBUTE_UNUSED struct starpu_data_filter *f, unsigned id, STARPU_ATTRIBUTE_UNUSED unsigned nparts)
+void starpu_bcsr_filter_vertical_block(void *father_interface, void *child_interface, STARPU_ATTRIBUTE_UNUSED struct starpu_data_filter *f, unsigned id, STARPU_ATTRIBUTE_UNUSED unsigned nparts)
 {
 	struct starpu_bcsr_interface *bcsr_father = (struct starpu_bcsr_interface *) father_interface;
 	struct starpu_bcsr_interface *bcsr_child = (struct starpu_bcsr_interface *) child_interface;

+ 1 - 1
tests/datawizard/bcsr.c

@@ -132,7 +132,7 @@ int main(int argc, char **argv)
 	starpu_task_insert(&show_cl, STARPU_R, bcsr_handle, 0);
 
 	struct starpu_data_filter filter = {
-		.filter_func = starpu_bcsr_filter_block,
+		.filter_func = starpu_bcsr_filter_vertical_block,
 		.nchildren = 2,
 	};
 	starpu_data_partition(bcsr_handle, &filter);