Project
Loading...
Searching...
No Matches
GPUReconstructionCPUDevicertc.cxx
Go to the documentation of this file.
1// Copyright 2019-2026 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#define __CPUDEVICE__ // Compile as device code, which runs on the host
16#define GPUCA_DEVICE_SINGLE_THREAD // Device code with 1 thread per block
17#define GPUCA_GPUCODE_GENRTC
18#define GPUCA_GPUCODE_COMPILEKERNELS
19
20#define GPUCA_RTC_SPECIAL_CODE(...) GPUCA_RTC_SPECIAL_CODE(__VA_ARGS__)
21#define GPUCA_DETERMINISTIC_CODE(...) GPUCA_DETERMINISTIC_CODE(__VA_ARGS__)
22#define GPUCA_RTC_CONSTEXPR GPUCA_RTC_CONSTEXPR
23
24#include "GPUReconstructionIncludesDeviceAll.h"
25
26#ifndef GPUCA_GPUCODE_DEVICE
27#error RTC Preprocessing must run on device code
28#endif