Skip to content

Commit dfd37f9

Browse files
committed
GPU: Fix checking for dmaTransferType with GPU memory registration disabled
1 parent 92375f9 commit dfd37f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

GPU/GPUTracking/Global/GPUChainTracking.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,8 +273,8 @@ bool GPUChainTracking::ValidateSettings()
273273
GPUError("NStreams of %d insufficient for %d nTPCClustererLanes", mRec->NStreams(), (int32_t)GetProcessingSettings().nTPCClustererLanes);
274274
return false;
275275
}
276-
if (GetProcessingSettings().noGPUMemoryRegistration && gatherMode != 3) {
277-
GPUError("noGPUMemoryRegistration only possible with gather mode 3");
276+
if ((mRec->GetRecoStepsGPU() & GPUDataTypes::RecoStep::TPCCompression) && GetProcessingSettings().noGPUMemoryRegistration && gatherMode != 3) {
277+
GPUError("noGPUMemoryRegistration only possible with gather mode 3 (set to %d / %d)", mRec->GetProcessingSettings().tpcCompressionGatherMode, gatherMode);
278278
return false;
279279
}
280280
if (GetProcessingSettings().doublePipeline) {

0 commit comments

Comments
 (0)