Skip to content

Commit 7e03030

Browse files
committed
Improve error message
1 parent 91dd4df commit 7e03030

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

GPU/GPUTracking/Global/GPUChainTrackingCompression.cxx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,13 +115,12 @@ int GPUChainTracking::RunTPCCompression()
115115
getKernelTimer<GPUTPCCompressionGatherKernels, GPUTPCCompressionGatherKernels::buffered128>(RecoStep::TPCCompression, 0, outputSize);
116116
break;
117117
case 4:
118-
119118
static_assert((nBlocksMulti & 1) && nBlocksMulti >= 3);
120119
runKernel<GPUTPCCompressionGatherKernels, GPUTPCCompressionGatherKernels::multiBlock>(GetGridBlkStep(nBlocksMulti, outputStream, RecoStep::TPCCompression));
121120
getKernelTimer<GPUTPCCompressionGatherKernels, GPUTPCCompressionGatherKernels::multiBlock>(RecoStep::TPCCompression, 0, outputSize);
122121
break;
123122
default:
124-
GPUError("Invalid compression kernel selected.");
123+
GPUError("Invalid compression kernel %d selected.", (int)ProcessingSettings().tpcCompressionGatherModeKernel);
125124
return 1;
126125
}
127126
if (ProcessingSettings().tpcCompressionGatherMode == 3) {

0 commit comments

Comments
 (0)