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#include <string>
20
21namespace o2::gpu
22{
23namespace gpu_rtc
24{
25#define QCONFIG_GENRTC
26#define BeginNamespace(...)
27#define EndNamespace(...)
28#include "utils/qconfig.h"
29#undef QCONFIG_GENRTC
30#undef BeginNamespace
31#undef EndNamespace
32} // namespace gpu_rtc
33
34struct GPUParamRTC : public internal::GPUParam_t<gpu_rtc::GPUSettingsRec, gpu_rtc::GPUSettingsParam> {
35 void setFrom(const GPUParam& param);
36 static std::string generateRTCCode(const GPUParam& param, bool useConstexpr);
37};
38
39} // namespace o2::gpu
40
41#endif
GLenum GLfloat param
Definition glcorearb.h:271
static std::string generateRTCCode(const GPUParam &param, bool useConstexpr)
Definition GPUParam.cxx:194
void setFrom(const GPUParam &param)
Definition GPUParam.cxx:189