Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
Analysis Software
Deprecated List
Modules
Namespaces
Classes
Files
File List
acts
blob
sPHENIX
Alignment
CI
cmake
Core
docs
Examples
Fatras
Plugins
ActSVG
Autodiff
Cuda
include
Acts
Plugins
Cuda
Seeding
Seeding2
Utilities
Arrays.hpp
CpuMatrix.hpp
CpuScalar.hpp
CpuVector.hpp
Info.hpp
MemoryManager.hpp
StreamWrapper.hpp
Cuda.hpp
src
DD4hep
EDM4hep
ExaTrkX
FpeMonitoring
Geant4
Identification
Json
Legacy
Mlpack
Onnx
Podio
Sycl
TGeo
Tests
acts-fatras
analysis
analysis_tpc_prototype
coresoftware
Doxygen_Assist
g4exampledetector
GenFit
JETSCAPE
KFParticle
macros
online_distribution
OnlMon
prototype
pythia6
rcdaq
RDBC
tutorials
doxygen_mainpage.h
File Members
Examples
External Links
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
Info.hpp
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file Info.hpp
1
// This file is part of the Acts project.
2
//
3
// Copyright (C) 2020 CERN for the benefit of the Acts project
4
//
5
// This Source Code Form is subject to the terms of the Mozilla Public
6
// License, v. 2.0. If a copy of the MPL was not distributed with this
7
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
8
9
#pragma once
10
11
// System include(s).
12
#include <iosfwd>
13
#include <string>
14
#include <vector>
15
16
namespace
Acts {
17
namespace
Cuda {
18
23
class
Info
{
24
public
:
27
29
Info
(
const
Info
&) =
delete
;
31
Info
(
Info
&&) =
delete
;
32
34
Info
&
operator=
(
const
Info
&) =
delete
;
36
Info
&
operator=
(
Info
&&) =
delete
;
37
39
41
static
Info
&
instance
();
42
44
struct
Device
{
46
int
id
= -1;
48
std::string
name
;
50
int
maxThreadsPerBlock
= -1;
52
bool
concurrentKernels
=
false
;
54
std::size_t
totalMemory
= 0;
55
};
// struct Device
56
58
const
std::vector<Device>&
devices
()
const
;
59
60
private
:
62
Info
();
63
65
std::vector<Device>
m_devices
;
66
67
};
// class Info
68
70
std::ostream&
operator<<
(std::ostream&
out
,
const
Info::Device
& device);
71
72
}
// namespace Cuda
73
}
// namespace Acts
acts
blob
sPHENIX
Plugins
Cuda
include
Acts
Plugins
Cuda
Utilities
Info.hpp
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:17:41
using
1.8.2 with
sPHENIX GitHub integration