Skip to content

Commit

Permalink
code format?
Browse files Browse the repository at this point in the history
  • Loading branch information
gartung committed May 12, 2022
1 parent ce90520 commit a885583
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion FWCore/Utilities/interface/CMSUnrollLoop.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
#define CMS_UNROLL_LOOP_DISABLE _Pragma(STRINGIFY(clang loop unroll(disable)))

#elif defined(__INTEL_COMPILER)
// Intel icc compiler
// Intel icc compiler
#define CMS_UNROLL_LOOP _Pragma(STRINGIFY(unroll))
#define CMS_UNROLL_LOOP_COUNT(N) _Pragma(STRINGIFY(unroll(N)))
#define CMS_UNROLL_LOOP_DISABLE _Pragma(STRINGIFY(nounroll))
Expand Down
6 changes: 3 additions & 3 deletions RecoTracker/MkFitCore/src/PropagationMPlex.cc
Original file line number Diff line number Diff line change
Expand Up @@ -822,20 +822,20 @@ namespace mkfit {
float cosahTmp[NN];
float sinahTmp[NN];
if constexpr (Config::useTrigApprox) {
#ifndef __INTEL_COMPILER
#ifndef __INTEL_COMPILER
#pragma omp simd
#endif
for (int n = 0; n < NN; ++n) {
sincos4(alpha[n] * 0.5f, sinahTmp[n], cosahTmp[n]);
}
} else {
#ifndef __INTEL_COMPILER
#ifndef __INTEL_COMPILER
#pragma omp simd
#endif
for (int n = 0; n < NN; ++n) {
cosahTmp[n] = std::cos(alpha[n] * 0.5f);
}
#ifndef __INTEL_COMPILER
#ifndef __INTEL_COMPILER
#pragma omp simd
#endif
for (int n = 0; n < NN; ++n) {
Expand Down

0 comments on commit a885583

Please sign in to comment.