Project
Loading...
Searching...
No Matches
GPUParamRTC.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.
11
14
15#ifndef GPUPARAMRTC_H
16#define GPUPARAMRTC_H
17
18#include "GPUParam.h"
19#define GPUSETTINGS_ALL
20#include "GPUSettings.h"
21#include <string>
22
23namespace o2::gpu
24{
25namespace gpu_rtc
26{
27#define QCONFIG_GENRTC
28#define BeginNamespace(...)
29#define EndNamespace(...)
30#include "utils/qconfig.h"
31#undef QCONFIG_GENRTC
32#undef BeginNamespace
33#undef EndNamespace
34} // namespace gpu_rtc
35
36struct GPUParamRTC : public internal::GPUParam_t<gpu_rtc::GPUSettingsRec, gpu_rtc::GPUSettingsParam> {
37 void setFrom(const GPUParam& param);
38 static std::string generateRTCCode(const GPUParam& param, bool useConstexpr);
39};
40
41} // namespace o2::gpu
42
43#endif
GLenum GLfloat param
Definition glcorearb.h:271
static std::string generateRTCCode(const GPUParam &param, bool useConstexpr)
Definition GPUParam.cxx:161
void setFrom(const GPUParam &param)
Definition GPUParam.cxx:156