<T>LAPACK 0.1.1
C++ Template Linear Algebra PACKage
Loading...
Searching...
No Matches
filters.hpp File Reference

Filters for StarPU data interfaces. More...

#include <starpu.h>
#include "tlapack/starpu/types.hpp"
Include dependency graph for filters.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void tlapack::starpu::filter_cols (void *father_interface, void *child_interface, struct starpu_data_filter *f, unsigned id, unsigned nparts) noexcept
 StarPU filter to partition a matrix along the y (column) dimension.
 
void tlapack::starpu::filter_ntiles (void *father_interface, void *child_interface, struct starpu_data_filter *f, unsigned id, STARPU_ATTRIBUTE_UNUSED unsigned nparts) noexcept
 StarPU filter to define a multiple submatrices of a non-tiled matrix.
 
void tlapack::starpu::filter_rows (void *father_interface, void *child_interface, STARPU_ATTRIBUTE_UNUSED struct starpu_data_filter *f, unsigned id, unsigned nparts) noexcept
 StarPU filter to partition a matrix along the x (row) dimension.
 
void tlapack::starpu::filter_tile (void *father_interface, void *child_interface, struct starpu_data_filter *f, STARPU_ATTRIBUTE_UNUSED unsigned id, STARPU_ATTRIBUTE_UNUSED unsigned nparts) noexcept
 StarPU filter to define a single submatrix of a non-tiled matrix.
 

Detailed Description

Filters for StarPU data interfaces.

Author
Weslley S Pereira, University of Colorado Denver, USA

Function Documentation

◆ filter_cols()

void tlapack::starpu::filter_cols ( void father_interface,
void child_interface,
struct starpu_data_filter f,
unsigned  id,
unsigned  nparts 
)
inlinenoexcept

StarPU filter to partition a matrix along the y (column) dimension.

If nparts does not divide the number of columns, the last submatrix contains the remainder.

Parameters
[in]father_interfacestarpu_matrix_interface of the matrix.
[out]child_interfacestarpu_matrix_interface of the submatrix.
[in]funused.
[in]idindex of the submatrix.
[in]npartsnumber of submatrices.

◆ filter_ntiles()

void tlapack::starpu::filter_ntiles ( void father_interface,
void child_interface,
struct starpu_data_filter f,
unsigned  id,
STARPU_ATTRIBUTE_UNUSED unsigned  nparts 
)
inlinenoexcept

StarPU filter to define a multiple submatrices of a non-tiled matrix.

Note
The submatrices shouldn't overlap.
Parameters
[in]father_interfacestarpu_matrix_interface of the matrix.
[out]child_interfacestarpu_matrix_interface of the submatrix.
[in]farray with indexes {row0, col0, nrows, ncols}. The size of f is 4 * nparts.
[in]idindex of the submatrix.
[in]npartsunused.

◆ filter_rows()

void tlapack::starpu::filter_rows ( void father_interface,
void child_interface,
STARPU_ATTRIBUTE_UNUSED struct starpu_data_filter f,
unsigned  id,
unsigned  nparts 
)
inlinenoexcept

StarPU filter to partition a matrix along the x (row) dimension.

If nparts does not divide the number of rows, the last submatrix contains the remainder.

Parameters
[in]father_interfacestarpu_matrix_interface of the matrix.
[out]child_interfacestarpu_matrix_interface of the submatrix.
[in]funused.
[in]idindex of the submatrix.
[in]npartsnumber of submatrices.

◆ filter_tile()

void tlapack::starpu::filter_tile ( void father_interface,
void child_interface,
struct starpu_data_filter f,
STARPU_ATTRIBUTE_UNUSED unsigned  id,
STARPU_ATTRIBUTE_UNUSED unsigned  nparts 
)
inlinenoexcept

StarPU filter to define a single submatrix of a non-tiled matrix.

Parameters
[in]father_interfacestarpu_matrix_interface of the matrix.
[out]child_interfacestarpu_matrix_interface of the submatrix.
[in]farray with indexes {row0, col0, nrows, ncols}.
[in]idunused.
[in]npartsunused.