9.0
general documentation
Loading...
Searching...
No Matches
cs_matrix_tuning.h File Reference
#include "base/cs_defs.h"
#include "base/cs_halo.h"
#include "base/cs_numbering.h"
#include "base/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)
 Build a matrix variant tuned matrix.vector product operations.

Function Documentation

◆ cs_matrix_variant_tuned()

cs_matrix_variant_t * cs_matrix_variant_tuned ( const cs_matrix_t * m,
int verbosity,
int n_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
Returns
pointer to tuning results structure