elpa_autotune_setup - create an instance for autotuning of the ELPA library
Before the autotuning object can be created, an instance of the ELPA library has
to be setup, see e.g.
elpa_setup(3)
use elpa
class(elpa_t), pointer :: elpa class(elpa_autotune_t), pointer :: tune_state
tune_state=
elpa%autotune_setup (level, domain)
With the definitions of the input and output variables:
integer ::
level ! the level of the autotuning, at the moment
ELPA_AUTOTUNE_FAST is supported
integer ::
domain ! the domain (real or complex) of the autotuning, can
be either ELPA_AUTOTUNE_DOMAIN_REAL or ELPA_AUTOTUNE_DOMAIN_COMPLEX
#include <elpa/elpa.h>
elpa_t handle; elpa_autotune_t autotune_handle;
elpa_autotune_t autotune_handle =
elpa_autotune_setup
(
elpa_t handle, int level, int domain);
With the definitions of the input and output variables:
elpa_t
handle; // the handle of an ELPA object, obtained before with
elpa_allocate(3)
int
level; // the level of the autotuning, at the moment
ELPA_AUTOTUNE_FAST"is
supported
int
domain; // the domain (real or complex) of the autotuning, can be
either
ELPA_AUTOTUNE_DOMAIN_REAL"and
ELPA_AUTOTUNE_DOMAIN_COMPLEX
elpa_autotune_t
autotune_handel; // the created handle of the autotune
object
Creates an ELPA autotuning object.
Prior to calling the autotune_setup,
an ELPA object must have been created. See
elpa_setup(3)
elpa_autotune_step(3)
elpa_autotune_set_best(3)
elpa_autotune_deallocate(3)