MueLu Version of the Day
Loading...
Searching...
No Matches
MueLu::KokkosTuningInterface Class Reference

#include <MueLu_KokkosTuningInterface.hpp>

Inheritance diagram for MueLu::KokkosTuningInterface:
MueLu::BaseClass MueLu::VerboseObject MueLu::Describable

Public Member Functions

 KokkosTuningInterface (const Teuchos::RCP< const Teuchos::Comm< int > > &comm)
 
virtual ~KokkosTuningInterface ()
 
Teuchos::RCP< const Teuchos::ParameterList > GetValidParameterList () const
 
void SetParameterList (Teuchos::ParameterList &inParams)
 
void SetMueLuParameters (size_t kokkos_context_id, Teuchos::ParameterList &mueluParams, bool overwrite=true) const
 
void SetMueLuParameters (Teuchos::ParameterList &mueluParams, bool overwrite=true) const
 
- Public Member Functions inherited from MueLu::BaseClass
virtual ~BaseClass ()
 Destructor.
 
- Public Member Functions inherited from MueLu::VerboseObject
 VerboseObject ()
 
virtual ~VerboseObject ()
 Destructor.
 
VerbLevel GetVerbLevel () const
 Get the verbosity level.
 
void SetVerbLevel (const VerbLevel verbLevel)
 Set the verbosity level of this object.
 
int GetProcRankVerbose () const
 Get proc rank used for printing. Do not use this information for any other purpose.
 
int SetProcRankVerbose (int procRank) const
 Set proc rank used for printing.
 
bool IsPrint (MsgType type, int thisProcRankOnly=-1) const
 Find out whether we need to print out information for a specific message type.
 
Teuchos::FancyOStream & GetOStream (MsgType type, int thisProcRankOnly=0) const
 Get an output stream for outputting the input message type.
 
Teuchos::FancyOStream & GetBlackHole () const
 
- Public Member Functions inherited from MueLu::Describable
virtual ~Describable ()
 Destructor.
 
virtual void describe (Teuchos::FancyOStream &out_arg, const VerbLevel verbLevel=Default) const
 
virtual std::string description () const
 Return a simple one-line description of this object.
 
void describe (Teuchos::FancyOStream &out, const Teuchos::EVerbosityLevel verbLevel=Teuchos::Describable::verbLevel_default) const
 Print the object with some verbosity level to an FancyOStream object.
 
virtual std::string ShortClassName () const
 Return the class name of the object, without template parameters and without namespace.
 

Private Member Functions

void UnpackMueLuMapping ()
 
std::vector< std::string > SplitString (const std::string &base_string, const std::string &delimiter) const
 
void Setup ()
 

Private Attributes

Teuchos::RCP< const Teuchos::Comm< int > > comm_
 
Teuchos::ParameterList params_
 
std::vector< Kokkos::Tools::Experimental::VariableValue > in_variables
 
std::vector< Kokkos::Tools::Experimental::VariableValue > out_variables
 
std::vector< std::string > out_names
 
std::vector< std::string > out_typenames
 

Additional Inherited Members

- Static Public Member Functions inherited from MueLu::VerboseObject
static void SetDefaultVerbLevel (const VerbLevel defaultVerbLevel)
 Set the default (global) verbosity level.
 
static VerbLevel GetDefaultVerbLevel ()
 Get the default (global) verbosity level.
 
static void SetMueLuOStream (const Teuchos::RCP< Teuchos::FancyOStream > &mueluOStream)
 
static void SetMueLuOFileStream (const std::string &filename)
 
static Teuchos::RCP< Teuchos::FancyOStream > GetMueLuOStream ()
 

Detailed Description

Definition at line 29 of file MueLu_KokkosTuningInterface.hpp.

Constructor & Destructor Documentation

◆ KokkosTuningInterface()

MueLu::KokkosTuningInterface::KokkosTuningInterface ( const Teuchos::RCP< const Teuchos::Comm< int > > &  comm)

Definition at line 49 of file MueLu_KokkosTuningInterface.cpp.

◆ ~KokkosTuningInterface()

virtual MueLu::KokkosTuningInterface::~KokkosTuningInterface ( )
inlinevirtual

Definition at line 33 of file MueLu_KokkosTuningInterface.hpp.

Member Function Documentation

◆ GetValidParameterList()

RCP< const Teuchos::ParameterList > MueLu::KokkosTuningInterface::GetValidParameterList ( ) const

Definition at line 54 of file MueLu_KokkosTuningInterface.cpp.

◆ SetParameterList()

void MueLu::KokkosTuningInterface::SetParameterList ( Teuchos::ParameterList &  inParams)
inline

Definition at line 40 of file MueLu_KokkosTuningInterface.hpp.

◆ SetMueLuParameters() [1/2]

void MueLu::KokkosTuningInterface::SetMueLuParameters ( size_t  kokkos_context_id,
Teuchos::ParameterList &  mueluParams,
bool  overwrite = true 
) const

Definition at line 202 of file MueLu_KokkosTuningInterface.cpp.

◆ SetMueLuParameters() [2/2]

void MueLu::KokkosTuningInterface::SetMueLuParameters ( Teuchos::ParameterList &  mueluParams,
bool  overwrite = true 
) const

Definition at line 258 of file MueLu_KokkosTuningInterface.cpp.

◆ UnpackMueLuMapping()

void MueLu::KokkosTuningInterface::UnpackMueLuMapping ( )
private

Definition at line 91 of file MueLu_KokkosTuningInterface.cpp.

◆ SplitString()

std::vector< std::string > MueLu::KokkosTuningInterface::SplitString ( const std::string &  base_string,
const std::string &  delimiter 
) const
private

Definition at line 183 of file MueLu_KokkosTuningInterface.cpp.

◆ Setup()

void MueLu::KokkosTuningInterface::Setup ( )
private

Definition at line 82 of file MueLu_KokkosTuningInterface.cpp.

Member Data Documentation

◆ comm_

Teuchos::RCP<const Teuchos::Comm<int> > MueLu::KokkosTuningInterface::comm_
private

Definition at line 62 of file MueLu_KokkosTuningInterface.hpp.

◆ params_

Teuchos::ParameterList MueLu::KokkosTuningInterface::params_
mutableprivate

Definition at line 63 of file MueLu_KokkosTuningInterface.hpp.

◆ in_variables

std::vector<Kokkos::Tools::Experimental::VariableValue> MueLu::KokkosTuningInterface::in_variables
mutableprivate

Definition at line 66 of file MueLu_KokkosTuningInterface.hpp.

◆ out_variables

std::vector<Kokkos::Tools::Experimental::VariableValue> MueLu::KokkosTuningInterface::out_variables
mutableprivate

Definition at line 67 of file MueLu_KokkosTuningInterface.hpp.

◆ out_names

std::vector<std::string> MueLu::KokkosTuningInterface::out_names
private

Definition at line 68 of file MueLu_KokkosTuningInterface.hpp.

◆ out_typenames

std::vector<std::string> MueLu::KokkosTuningInterface::out_typenames
private

Definition at line 69 of file MueLu_KokkosTuningInterface.hpp.


The documentation for this class was generated from the following files: