File Info.hpp

namespace Acts

Set the Geometry Context PLUGIN.

Set the Calibration Context PLUGIN.

Convenience functions to ease creation of and Acts::InterpolatedMaterialMap and to avoid code duplication.

Set the Mangetic Field Context PLUGIN.

Convenience functions to ease creation of and Acts::InterpolatedBFieldMap and to avoid code duplication.

Currently implemented for the two most common formats: rz and xyz.

namespace Cuda

Functions

std::ostream &operator<<(std::ostream &out, const Info::Device &device)

Print operator for Acts::Cuda::Info::Device.

class Info
#include </home/docs/checkouts/readthedocs.org/user_builds/acts/checkouts/v13.0.0/Plugins/Cuda/include/Acts/Plugins/Cuda/Utilities/Info.hpp>

Class providing information about the CUDA devices at runtime.

Without exposing any CUDA dependencies publicly to the clients.

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.

Info &operator=(const Info&) = delete

Explicitly delete the copy assignment operator.

Info &operator=(Info&&) = delete

Explicitly delete the move assignment operator.

Public Functions

const std::vector<Device> &devices() const

Get all the available CUDA devices.

Public Static Functions

static Info &instance()

Singleton accessor function.

Private Functions

Info()

The constructor is private to implement the singleton behaviour.

Private Members

std::vector<Device> m_devices

Information about all available devices.

struct Device
#include </home/docs/checkouts/readthedocs.org/user_builds/acts/checkouts/v13.0.0/Plugins/Cuda/include/Acts/Plugins/Cuda/Utilities/Info.hpp>

Helper struct describing one available CUDA device.

Public Members

bool concurrentKernels = false

Whether the device supports multiple kernel executions in parallel.

int id = -1

Identifier that CUDA knows this device by.

int maxThreadsPerBlock = -1

The maximal number of threads per block for this device.

std::string name

The name of this device.

std::size_t totalMemory = 0

The total amount of (global) memory on the device.