votca 2024.2-dev
Loading...
Searching...
No Matches
votca::xtp::GPUBenchmark Class Referencefinal

#include <gpu_benchmark.h>

Inheritance diagram for votca::xtp::GPUBenchmark:
Collaboration diagram for votca::xtp::GPUBenchmark:

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 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
 
void setnThreads (Index nThreads)
 Sets number of threads to use.
 

Protected Member Functions

void ParseOptions (const tools::Property &user_options)
 
bool Run ()
 
- Protected Member Functions inherited from votca::xtp::QMTool

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: