Skip to content

Commit b0cfbde

Browse files
committed
GPU: give the TPC compression of unattached clusters more blocks on Metal
A tuning of the Metal column of GPUParameters.csv only, which changes nothing for the other backends. The column was empty, so the kernel ran with the default 256 threads and 1 block per GPU core, 32 blocks on an M1 Max. With 8 blocks per core it takes 50 instead of 109 ms per event of GPU time on a 30-collision Pb-Pb time frame, and the whole event 1.339 instead of 1.389 s (--runs 10, 3 interleaved rounds). 2 and 4 blocks are slower, 16 no faster. The other kernels with an automatic grid do not get faster with more blocks.
1 parent 21172bc commit b0cfbde

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎GPU/GPUTracking/Definitions/Parameters/GPUParameters.csv‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ GPUTPCCreateOccupancyMap_fill,256,,,,,,,,,256,,256,256,,256,,,256,
1616
GPUTPCCreateOccupancyMap_fold,256,,,,,,,,,256,,256,256,,256,,,256,
1717
GPUTRDTrackerKernels_o2Version,512,,,,,,,,,512,,512,512,,512,,,512,
1818
GPUTPCCompressionKernels_step0attached,256,,"[128, 1]","[64, 2]",,,,,,"[160, 2]",128,"[448, 1]",352,,"[1024, 1]",,"[96, 3]","[128, 4]",
19-
GPUTPCCompressionKernels_step1unattached,256,,"[512, 2]","[512, 2]",,,,,,"[288, 4]","[512, 2]","[256, 4]","[512, 2]",,"[512, 3]",,"[512, 2]","[512, 3]",
19+
GPUTPCCompressionKernels_step1unattached,256,,"[512, 2]","[512, 2]",,,,,,"[288, 4]","[512, 2]","[256, 4]","[512, 2]",,"[512, 3]",,"[512, 2]","[512, 3]","[256, 8]"
2020
GPUTPCDecompressionKernels_step0attached,256,,"[128, 2]","[128, 2]",,,,,,"[32, 1]","[32, 1]","[32, 1]","[32, 1]",,"[128, 1]",,"[32, 1]","[128, 1]",
2121
GPUTPCDecompressionKernels_step1unattached,256,,"[64, 2]","[64, 2]",,,,,,"[32, 1]","[32, 1]","[32, 1]","[32, 1]",,"[64, 1]",,"[32, 1]","[64, 1]",
2222
GPUTPCDecompressionUtilKernels_sortPerSectorRow,256,,,,,,,,,256,,256,256,,256,,,256,

0 commit comments

Comments
 (0)