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
-
class Info
- #include </home/docs/checkouts/readthedocs.org/user_builds/acts/checkouts/v19.2.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.
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.
-
struct Device
- #include </home/docs/checkouts/readthedocs.org/user_builds/acts/checkouts/v19.2.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.
-
bool concurrentKernels = false
-
Info(const Info&) = delete
-
class Info
-
namespace Cuda