From 012d9e2d5cb5433ef0eaa59c99f387b597edd481 Mon Sep 17 00:00:00 2001 From: David Rohr Date: Wed, 16 Jul 2025 17:46:38 +0200 Subject: [PATCH] GPU: Fix checking for dmaTransferType with GPU memory registration disabled --- GPU/GPUTracking/Global/GPUChainTracking.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GPU/GPUTracking/Global/GPUChainTracking.cxx b/GPU/GPUTracking/Global/GPUChainTracking.cxx index 423f0b782d095..9d2578731a30c 100644 --- a/GPU/GPUTracking/Global/GPUChainTracking.cxx +++ b/GPU/GPUTracking/Global/GPUChainTracking.cxx @@ -273,8 +273,8 @@ bool GPUChainTracking::ValidateSettings() GPUError("NStreams of %d insufficient for %d nTPCClustererLanes", mRec->NStreams(), (int32_t)GetProcessingSettings().nTPCClustererLanes); return false; } - if (GetProcessingSettings().noGPUMemoryRegistration && gatherMode != 3) { - GPUError("noGPUMemoryRegistration only possible with gather mode 3"); + if ((mRec->GetRecoStepsGPU() & GPUDataTypes::RecoStep::TPCCompression) && GetProcessingSettings().noGPUMemoryRegistration && gatherMode != 3) { + GPUError("noGPUMemoryRegistration only possible with gather mode 3 (set to %d / %d)", mRec->GetProcessingSettings().tpcCompressionGatherMode, gatherMode); return false; } if (GetProcessingSettings().doublePipeline) {