8.0
general documentation
cs_matrix_tuning.h File Reference
#include "cs_defs.h"
#include "cs_halo.h"
#include "cs_numbering.h"
#include "cs_halo_perio.h"
+ Include dependency graph for cs_matrix_tuning.h:

Go to the source code of this file.

Functions

cs_matrix_variant_tcs_matrix_variant_tuned (const cs_matrix_t *m, int verbosity, int n_measure, double t_measure)
 Build a matrix variant tuned matrix.vector product operations. More...
 

Function Documentation

◆ cs_matrix_variant_tuned()

cs_matrix_variant_t* cs_matrix_variant_tuned ( const cs_matrix_t m,
int  verbosity,
int  n_measure,
double  t_measure 
)

Build a matrix variant tuned matrix.vector product operations.

The variant may later be applied to matrices of the same type and fill type.

In presence of supported accelerated devices, an array of 3 variants is returned; the second one applies to the host only, the third one to the device only.

Parameters
[in]massociated matrix
[in]verbosityverbosity level
[in]n_measureminimum number of measuring runs
[in]t_measureminimum measure time
Returns
pointer to tuning results structure