Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::Cuda::Info Class Reference

#include <acts/blob/sPHENIX/Plugins/Cuda/include/Acts/Plugins/Cuda/Utilities/Info.hpp>

+ Collaboration diagram for Acts::Cuda::Info:

Classes

struct  Device
 Helper struct describing one available CUDA device. More...
 

Public Member Functions

const std::vector< Device > & devices () const
 Get all the available CUDA devices.
 
Declarations preventing any copies of the singleton object
 Info (const Info &)=delete
 Explicitly delete the copy constructor.
 
 Info (Info &&)=delete
 Explicitly delete the move constructor.
 
Infooperator= (const Info &)=delete
 Explicitly delete the copy assignment operator.
 
Infooperator= (Info &&)=delete
 Explicitly delete the move assignment operator.
 

Static Public Member Functions

static Infoinstance ()
 Singleton accessor function.
 

Private Member Functions

 Info ()
 The constructor is private to implement the singleton behaviour.
 

Private Attributes

std::vector< Devicem_devices
 Information about all available devices.
 

Detailed Description

Class providing information about the CUDA devices at runtime

Without exposing any CUDA dependencies publicly to the clients.

Definition at line 23 of file Info.hpp.

View newest version in sPHENIX GitHub at line 23 of file Info.hpp

Constructor & Destructor Documentation

Acts::Cuda::Info::Info ( const Info )
delete

Explicitly delete the copy constructor.

Acts::Cuda::Info::Info ( Info &&  )
delete

Explicitly delete the move constructor.

Acts::Cuda::Info::Info ( )
private

The constructor is private to implement the singleton behaviour.

Member Function Documentation

const std::vector<Device>& Acts::Cuda::Info::devices ( ) const

Get all the available CUDA devices.

Referenced by main().

+ Here is the caller graph for this function:

static Info& Acts::Cuda::Info::instance ( )
static

Singleton accessor function.

Referenced by Acts::Cuda::SeedFinder< external_spacepoint_t >::createSeedsForGroup(), main(), and Acts::Cuda::SeedFinder< external_spacepoint_t >::SeedFinder().

+ Here is the caller graph for this function:

Info& Acts::Cuda::Info::operator= ( const Info )
delete

Explicitly delete the copy assignment operator.

Info& Acts::Cuda::Info::operator= ( Info &&  )
delete

Explicitly delete the move assignment operator.

Member Data Documentation

std::vector<Device> Acts::Cuda::Info::m_devices
private

Information about all available devices.

Definition at line 65 of file Info.hpp.

View newest version in sPHENIX GitHub at line 65 of file Info.hpp


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