Skip to content

Commit

Permalink
Add CMS_UNROLL_LOOP_COUNT(Config::Niter)
Browse files Browse the repository at this point in the history
and #include "FWCore/Utilities/interface/CMSUnrollLoop.h"
  • Loading branch information
gartung committed May 13, 2022
1 parent 8eab5b1 commit 31e2c83
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions RecoTracker/MkFitCore/src/PropagationMPlex.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#include "FWCore/Utilities/interface/CMSUnrollLoop.h"

#include "MaterialEffects.h"
#include "PropagationMPlex.h"

Expand Down Expand Up @@ -331,6 +333,7 @@ namespace mkfit {
float pxin = cosP / ipt;
float pyin = sinP / ipt;

CMS_UNROLL_LOOP_COUNT(Config::Niter)
for (int i = 0; i < Config::Niter; ++i) {
dprint_np(n,
std::endl
Expand Down

0 comments on commit 31e2c83

Please sign in to comment.