|
@@ -102,20 +102,20 @@ static void partition_mult_data(void)
|
|
|
starpu_matrix_data_register(&C_handle, 0, (uintptr_t)C,
|
|
|
ydim, ydim, xdim, sizeof(TYPE));
|
|
|
|
|
|
- struct starpu_data_filter f;
|
|
|
- memset(&f, 0, sizeof(f));
|
|
|
- f.filter_func = starpu_vertical_block_filter_func;
|
|
|
- f.nchildren = nslicesx;
|
|
|
+ struct starpu_data_filter vert;
|
|
|
+ memset(&vert, 0, sizeof(vert));
|
|
|
+ vert.filter_func = starpu_vertical_block_filter_func;
|
|
|
+ vert.nchildren = nslicesx;
|
|
|
|
|
|
- struct starpu_data_filter f2;
|
|
|
- memset(&f2, 0, sizeof(f2));
|
|
|
- f2.filter_func = starpu_block_filter_func;
|
|
|
- f2.nchildren = nslicesy;
|
|
|
+ struct starpu_data_filter horiz;
|
|
|
+ memset(&horiz, 0, sizeof(horiz));
|
|
|
+ horiz.filter_func = starpu_block_filter_func;
|
|
|
+ horiz.nchildren = nslicesy;
|
|
|
|
|
|
- starpu_data_partition(B_handle, &f);
|
|
|
- starpu_data_partition(A_handle, &f2);
|
|
|
+ starpu_data_partition(B_handle, &vert);
|
|
|
+ starpu_data_partition(A_handle, &horiz);
|
|
|
|
|
|
- starpu_data_map_filters(C_handle, 2, &f, &f2);
|
|
|
+ starpu_data_map_filters(C_handle, 2, &vert, &horiz);
|
|
|
}
|
|
|
|
|
|
static void mult_kernel_common(void *descr[], int type)
|