File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed
GPU/GPUTracking/Interface Expand file tree Collapse file tree 1 file changed +32
-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+ #ifdef GPUCA_STANDALONE
19+ #define GPU_GET_CONFIG (configName ) static_assert (false , " GPU_GET_CONFIG not available in standalone benchmark" )
20+ #else
21+ #include " GPUDefMacros.h"
22+ #include " GPUO2InterfaceConfiguration.h"
23+ #include " GPUO2ConfigurableParam.h"
24+ #include < type_traits>
25+
26+ #define GPU_GET_CONFIG (configName ) []() -> decltype (auto ) { \
27+ static_assert (!std::is_same_v<o2::gpu::configName, o2::gpu::GPUSettingsProcessing>); \
28+ return GPUCA_M_CAT (GPUConfigurableParam, configName)::Instance (); \
29+ }()
30+ #endif
31+
32+ #endif
You can’t perform that action at this time.
0 commit comments