Skip to content

Commit 8cfe085

Browse files
committed
GPU: Fix compilation without O2 headers
1 parent f8df7a1 commit 8cfe085

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

GPU/GPUTracking/Global/GPUChainTrackingDebugAndProfiling.cxx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,7 @@ void GPUChainTracking::PrintOutputStat()
249249

250250
void GPUChainTracking::SanityCheck()
251251
{
252+
#ifdef GPUCA_HAVE_O2HEADERS
252253
size_t nErrors = 0;
253254

254255
for (unsigned int i = 0; i < mIOPtrs.nOutputTracksTPCO2; i++) {
@@ -289,4 +290,5 @@ void GPUChainTracking::SanityCheck()
289290
} else {
290291
GPUError("Sanity check found %lu errors", nErrors);
291292
}
293+
#endif
292294
}

0 commit comments

Comments
 (0)