CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions
edm::ResourceInformation Class Referenceabstract

#include <ResourceInformation.h>

Inheritance diagram for edm::ResourceInformation:
edm::service::ResourceInformationService

Public Types

enum  AcceleratorType { AcceleratorType::GPU }
 

Public Member Functions

virtual std::vector< AcceleratorType > const & acceleratorTypes () const =0
 
virtual double cpuAverageSpeed () const =0
 
virtual std::vector< std::string > const & cpuModels () const =0
 
virtual std::string const & cpuModelsFormatted () const =0
 
virtual int cudaDriverVersion () const =0
 
virtual int cudaRuntimeVersion () const =0
 
virtual std::vector< std::string > const & gpuModels () const =0
 
virtual void initializeAcceleratorTypes (std::vector< std::string > const &selectedAccelerators)=0
 
virtual std::string const & nvidiaDriverVersion () const =0
 
ResourceInformation const & operator= (ResourceInformation const &)=delete
 
 ResourceInformation ()
 
 ResourceInformation (ResourceInformation const &)=delete
 
virtual void setCpuAverageSpeed (double)=0
 
virtual void setCPUModels (std::vector< std::string > const &)=0
 
virtual void setCpuModelsFormatted (std::string const &)=0
 
virtual void setCudaDriverVersion (int)=0
 
virtual void setCudaRuntimeVersion (int)=0
 
virtual void setGPUModels (std::vector< std::string > const &)=0
 
virtual void setNvidiaDriverVersion (std::string const &)=0
 
virtual ~ResourceInformation ()
 

Detailed Description

Description:

Usage:

Author
W. David Dagenhart, created May 3, 2022

Definition at line 18 of file ResourceInformation.h.

Member Enumeration Documentation

◆ AcceleratorType

Enumerator
GPU 

Definition at line 25 of file ResourceInformation.h.

25 { GPU };

Constructor & Destructor Documentation

◆ ResourceInformation() [1/2]

edm::ResourceInformation::ResourceInformation ( )

Definition at line 3 of file ResourceInformation.cc.

3 {}

◆ ResourceInformation() [2/2]

edm::ResourceInformation::ResourceInformation ( ResourceInformation const &  )
delete

◆ ~ResourceInformation()

edm::ResourceInformation::~ResourceInformation ( )
virtual

Definition at line 4 of file ResourceInformation.cc.

4 {}

Member Function Documentation

◆ acceleratorTypes()

virtual std::vector<AcceleratorType> const& edm::ResourceInformation::acceleratorTypes ( ) const
pure virtual

◆ cpuAverageSpeed()

virtual double edm::ResourceInformation::cpuAverageSpeed ( ) const
pure virtual

◆ cpuModels()

virtual std::vector<std::string> const& edm::ResourceInformation::cpuModels ( ) const
pure virtual

◆ cpuModelsFormatted()

virtual std::string const& edm::ResourceInformation::cpuModelsFormatted ( ) const
pure virtual

◆ cudaDriverVersion()

virtual int edm::ResourceInformation::cudaDriverVersion ( ) const
pure virtual

◆ cudaRuntimeVersion()

virtual int edm::ResourceInformation::cudaRuntimeVersion ( ) const
pure virtual

◆ gpuModels()

virtual std::vector<std::string> const& edm::ResourceInformation::gpuModels ( ) const
pure virtual

◆ initializeAcceleratorTypes()

virtual void edm::ResourceInformation::initializeAcceleratorTypes ( std::vector< std::string > const &  selectedAccelerators)
pure virtual

◆ nvidiaDriverVersion()

virtual std::string const& edm::ResourceInformation::nvidiaDriverVersion ( ) const
pure virtual

◆ operator=()

ResourceInformation const& edm::ResourceInformation::operator= ( ResourceInformation const &  )
delete

◆ setCpuAverageSpeed()

virtual void edm::ResourceInformation::setCpuAverageSpeed ( double  )
pure virtual

◆ setCPUModels()

virtual void edm::ResourceInformation::setCPUModels ( std::vector< std::string > const &  )
pure virtual

◆ setCpuModelsFormatted()

virtual void edm::ResourceInformation::setCpuModelsFormatted ( std::string const &  )
pure virtual

◆ setCudaDriverVersion()

virtual void edm::ResourceInformation::setCudaDriverVersion ( int  )
pure virtual

◆ setCudaRuntimeVersion()

virtual void edm::ResourceInformation::setCudaRuntimeVersion ( int  )
pure virtual

◆ setGPUModels()

virtual void edm::ResourceInformation::setGPUModels ( std::vector< std::string > const &  )
pure virtual

◆ setNvidiaDriverVersion()

virtual void edm::ResourceInformation::setNvidiaDriverVersion ( std::string const &  )
pure virtual