Skip to content

Commit 99927de

Browse files
committed
GPU: Fix compilation of standalone benchmark for Run2 data
1 parent 3505178 commit 99927de

1 file changed

Lines changed: 5 additions & 9 deletions

File tree

GPU/GPUTracking/TRDTracking/GPUTRDTrackletWord.cxx

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,15 @@ using namespace GPUCA_NAMESPACE::gpu;
1616

1717
#ifndef GPUCA_TPC_GEOMETRY_O2
1818

19-
#include "AliTRDtrackletWord.h"
20-
#include "AliTRDtrackletMCM.h"
21-
22-
#ifndef GPUCA_GPUCODE_DEVICE
23-
#include <new>
24-
#endif
25-
2619
GPUd() GPUTRDTrackletWord::GPUTRDTrackletWord(unsigned int trackletWord) : mId(-1), mHCId(-1), mTrackletWord(trackletWord)
2720
{
2821
}
2922
GPUd() GPUTRDTrackletWord::GPUTRDTrackletWord(unsigned int trackletWord, int hcid, int id) : mId(id), mHCId(hcid), mTrackletWord(trackletWord) {}
3023

31-
#ifndef GPUCA_GPUCODE_DEVICE
24+
#ifdef GPUCA_ALIROOT_LIB
25+
#include "AliTRDtrackletWord.h"
26+
#include "AliTRDtrackletMCM.h"
27+
3228
GPUTRDTrackletWord::GPUTRDTrackletWord(const AliTRDtrackletWord& rhs) : mId(-1), mHCId(rhs.GetHCId()), mTrackletWord(rhs.GetTrackletWord())
3329
{
3430
}
@@ -41,7 +37,7 @@ GPUTRDTrackletWord& GPUTRDTrackletWord::operator=(const AliTRDtrackletMCM& rhs)
4137
return *this;
4238
}
4339

44-
#endif // GPUCA_GPUCODE_DEVICE
40+
#endif // GPUCA_ALIROOT_LIB
4541

4642
GPUd() int GPUTRDTrackletWord::GetYbin() const
4743
{

0 commit comments

Comments
 (0)