Skip to content
Snippets Groups Projects

Simplify pos_iterator and posAdc_iterator

Merged Arthur Marius Hennequin requested to merge ahennequ_fixsidecoder into master
All threads resolved!

This simplifications lead to a net HLT1 throughput improvement of +0.7% (hlt1_reco_baseline).

  • Replaced convoluted bitwise operations by simple pointer arithmetic, allowing the compiler to emit more efficient asm
  • Do not build iterators at construction time, to avoid paying for what we don't use
  • Replace reference and pointer returns by value for CLUSTERWORD (as it is a zero cost abstraction over a simple word)

No real effort was made to further simplify the posAdc_iterator, because it is not used in the hotpath and should be deprecated and removed.

@decianm @sstahl @sponce

Edited by Sascha Stahl

Merge request reports

Pipeline #1329298 passed

Pipeline passed for 859aafe4 on ahennequ_fixsidecoder

Approved by

Merged by Rosen MatevRosen Matev 5 years ago (Jan 10, 2020 3:31pm UTC)

Merge details

  • Changes merged into master with fea68e5b.
  • Deleted the source branch.

Pipeline #1335537 passed

Pipeline passed for fea68e5b on master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • added 1 commit

    • 9bdac323 - Further simplification of end iterators

    Compare with previous version

  • added 1 commit

    • 859aafe4 - Further simplification of end iterators

    Compare with previous version

  • Arthur Marius Hennequin resolved all threads

    resolved all threads

  • assigned to @mstahl

  • Marian Stahl resolved all threads

    resolved all threads

  • Marian Stahl approved this merge request

    approved this merge request

  • Marian Stahl added 1 deleted label

    added 1 deleted label

  • Marian Stahl assigned to @rmatev and unassigned @mstahl

    assigned to @rmatev and unassigned @mstahl

  • Marian Stahl removed 1 deleted label

    removed 1 deleted label

  • Rosen Matev resolved all threads

    resolved all threads

  • Rosen Matev approved this merge request

    approved this merge request

  • unassigned @rmatev

  • merged

  • Rosen Matev mentioned in commit fea68e5b

    mentioned in commit fea68e5b

  • mentioned in merge request gaudi/Gaudi!1026 (merged)

  • mentioned in issue Moore#128 (closed)

  • Please register or sign in to reply
    Loading