Skip to content

Commit

Permalink
useless cpu stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriele Cimador committed Apr 8, 2024
1 parent 38bb453 commit 5f9b47b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GPU/GPUTracking/Global/GPUChainTrackingCompression.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ int GPUChainTracking::RunTPCDecompression()
bool toGPU = true;
runKernel<GPUMemClean16>(GetGridAutoStep(inputStream, RecoStep::TPCDecompression), krnlRunRangeNone, &mEvents->init, DecompressorShadow.mNativeClustersIndex, NSLICES * GPUCA_ROW_COUNT * sizeof(DecompressorShadow.mNativeClustersIndex[0]));
std::exclusive_scan(cmprClsHost.nTrackClusters, cmprClsHost.nTrackClusters + cmprClsHost.nTracks, Decompressor.mAttachedClustersOffsets,0u);
int nStreams = doGPU ? mRec->NStreams() - 1 : 4;
int nStreams = doGPU ? mRec->NStreams() - 1 : 1;
for (unsigned int iStream = 0; iStream < nStreams; ++iStream) {
unsigned int startTrack = cmprClsHost.nTracks / nStreams * iStream;
unsigned int endTrack = cmprClsHost.nTracks / nStreams * (iStream + 1) + (iStream < nStreams - 1 ? 0 : cmprClsHost.nTracks % nStreams);
Expand Down

0 comments on commit 5f9b47b

Please sign in to comment.