votca 2024-dev
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
votca::xtp::GPUBenchmark Class Referencefinal

#include <gpu_benchmark.h>

Inheritance diagram for votca::xtp::GPUBenchmark:
Inheritance graph
[legend]
Collaboration diagram for votca::xtp::GPUBenchmark:
Collaboration graph
[legend]

Public Member Functions

 GPUBenchmark ()=default
 
 ~GPUBenchmark ()=default
 
std::string Identify () const
 Calculator name.
 
- Public Member Functions inherited from votca::xtp::QMTool
 QMTool ()=default
 
 ~QMTool () override=default
 
std::string Identify () const override=0
 Calculator name.
 
std::string Package () const final
 Package name.
 
void Initialize (const tools::Property &options) final
 Initializes a calculator from an XML file with options.
 
bool Evaluate ()
 
- Public Member Functions inherited from votca::tools::Calculator
 Calculator ()=default
 
virtual ~Calculator ()=default
 
virtual std::string Identify () const =0
 Calculator name.
 
virtual std::string Package () const =0
 Package name.
 
virtual void Initialize (const Property &user_options)=0
 Initializes a calculator from an XML file with options.
 
void setnThreads (Index nThreads)
 Sets number of threads to use.
 

Protected Member Functions

void ParseOptions (const tools::Property &user_options)
 
bool Run ()
 
virtual bool Run ()=0
 
virtual void ParseOptions (const tools::Property &opt)=0
 

Private Attributes

Index repetitions_
 
std::string outputfile_
 

Additional Inherited Members

- Protected Attributes inherited from votca::xtp::QMTool
std::string job_name_
 
- Protected Attributes inherited from votca::tools::Calculator
Index nThreads_
 
bool maverick_
 

Detailed Description

Definition at line 29 of file gpu_benchmark.h.

Constructor & Destructor Documentation

◆ GPUBenchmark()

votca::xtp::GPUBenchmark::GPUBenchmark ( )
default

◆ ~GPUBenchmark()

votca::xtp::GPUBenchmark::~GPUBenchmark ( )
default

Member Function Documentation

◆ Identify()

std::string votca::xtp::GPUBenchmark::Identify ( ) const
inlinevirtual

Calculator name.

This name is used to register a calculator in a Factory It the name of the XML file with the default calculator options stored in VOTCASHARE

Returns
calculator name

Implements votca::xtp::QMTool.

Definition at line 34 of file gpu_benchmark.h.

◆ ParseOptions()

void votca::xtp::GPUBenchmark::ParseOptions ( const tools::Property user_options)
protectedvirtual

Implements votca::xtp::QMTool.

Definition at line 40 of file gpu_benchmark.cc.

◆ Run()

bool votca::xtp::GPUBenchmark::Run ( )
protectedvirtual

Implements votca::xtp::QMTool.

Definition at line 86 of file gpu_benchmark.cc.

Member Data Documentation

◆ outputfile_

std::string votca::xtp::GPUBenchmark::outputfile_
private

Definition at line 42 of file gpu_benchmark.h.

◆ repetitions_

Index votca::xtp::GPUBenchmark::repetitions_
private

Definition at line 41 of file gpu_benchmark.h.


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