File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed
GPU/GPUTracking/Interface Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change 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.
11+
12+ // / \file GPUO2InterfaceConfiguration.inc
13+ // / \author David Rohr
14+
15+ #ifndef GPUO2INTERFACECONFIGURATIONINC_H
16+ #define GPUO2INTERFACECONFIGURATIONINC_H
17+
18+ #include " GPUDefMacros.h"
19+ #include " GPUO2InterfaceConfiguration.h"
20+ #include " GPUO2ConfigurableParam.h"
21+ #include < type_traits>
22+
23+ #define GPU_GET_CONFIG (configName ) []() -> decltype (auto ) { \
24+ static_assert (!std::is_same_v<o2::gpu::configName, o2::gpu::GPUSettingsProcessing>); \
25+ return GPUCA_M_CAT (GPUConfigurableParam, configName)::Instance (); \
26+ }()
27+
28+ #endif
You can’t perform that action at this time.
0 commit comments