Skip to content

Commit

Permalink
Remove fast-math flag and attribute needed to prevent segfault when f…
Browse files Browse the repository at this point in the history
…ast-math is used
  • Loading branch information
gartung committed May 19, 2022
1 parent c3fbce9 commit a565f52
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
1 change: 0 additions & 1 deletion RecoTracker/MkFitCore/BuildFile.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
<use name="json"/>
<use name="tbb"/>
<flags CXXFLAGS="-fopenmp-simd"/>
<flags CXXFLAGS="-ffast-math"/>
<flags ADD_SUBDIR="1"/>
<export>
<lib name="RecoTrackerMkFitCore"/>
Expand Down
18 changes: 9 additions & 9 deletions RecoTracker/MkFitCore/src/PropagationMPlex.cc
Original file line number Diff line number Diff line change
Expand Up @@ -592,15 +592,15 @@ namespace mkfit {

//==============================================================================

void __attribute__((optimize("math-errno"))) propagateHelixToZMPlex(const MPlexLS& inErr,
const MPlexLV& inPar,
const MPlexQI& inChg,
const MPlexQF& msZ,
MPlexLS& outErr,
MPlexLV& outPar,
const int N_proc,
const PropagationFlags pflags,
const MPlexQI* noMatEffPtr) {
void propagateHelixToZMPlex(const MPlexLS& inErr,
const MPlexLV& inPar,
const MPlexQI& inChg,
const MPlexQF& msZ,
MPlexLS& outErr,
MPlexLV& outPar,
const int N_proc,
const PropagationFlags pflags,
const MPlexQI* noMatEffPtr) {
// debug = true;

outErr = inErr;
Expand Down

0 comments on commit a565f52

Please sign in to comment.