Skip to content

Commit 49c8c8a

Browse files
committed
GPU: Fix compilation without O2 headers
1 parent c44ace5 commit 49c8c8a

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

GPU/GPUTracking/Base/GPUO2FakeClasses.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ class GPUTrackingRefitProcessor
107107
};
108108
struct GPUTPCCFChainContext {
109109
};
110+
struct TPCPadGainCalib {
111+
};
110112
#ifndef __OPENCL__
111113
struct GPUParam;
112114
class GPUTPCClusterStatistics

GPU/GPUTracking/Global/GPUChainTracking.cxx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2704,7 +2704,9 @@ void GPUChainTracking::ClearErrorCodes()
27042704

27052705
void GPUChainTracking::SetDefaultO2PropagatorForGPU()
27062706
{
2707+
#ifdef HAVE_O2HEADERS
27072708
o2::base::Propagator* prop = param().GetDefaultO2Propagator(true);
27082709
prop->setMatLUT(processors()->calibObjects.matLUT);
27092710
SetO2Propagator(prop);
2711+
#endif
27102712
}

0 commit comments

Comments
 (0)