Project
Loading...
Searching...
No Matches
Context.h
Go to the documentation of this file.
1// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
2// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3// All rights not expressly granted are reserved.
4//
5// This software is distributed under the terms of the GNU General Public
6// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7//
8// In applying this license CERN does not waive the privileges and immunities
9// granted to it by virtue of its status as an Intergovernmental Organization
10// or submit itself to any jurisdiction.
15
16#ifndef ITSTRACKINGGPU_CONTEXT_H_
17#define ITSTRACKINGGPU_CONTEXT_H_
18
19#include <string>
20#include <vector>
22
23namespace o2
24{
25namespace its
26{
27namespace gpu
28{
29
47
48class Context final
49{
50 public:
52
55
58
59 private:
60 Context(bool dumpDevices = false);
61 ~Context() = default;
62
63 int mDevicesNum;
64 std::vector<DeviceProperties> mDeviceProperties;
65};
66} // namespace gpu
67} // namespace its
68} // namespace o2
69
70#endif /* TRAKINGITSU_INCLUDE_GPU_CONTEXT_H_ */
Context & operator=(const Context &)
static Context & getInstance()
const DeviceProperties & getDeviceProperties(const int)
const DeviceProperties & getDeviceProperties()
Context(const Context &)
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...