Skip to content

Commit

Permalink
[omp] in ggtt.sa fix OMP madgraph5#575 when MULTICHANNEL is disabled m…
Browse files Browse the repository at this point in the history
  • Loading branch information
valassi committed Dec 19, 2022
1 parent bf2a2a5 commit 3b886c3
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -913,7 +913,11 @@ namespace mg5amcCpu
// - shared: as the name says
// - private: give each thread its own copy, without initialising
// - firstprivate: give each thread its own copy, and initialise with value from outside
#ifdef MGONGPU_SUPPORTS_MULTICHANNEL
#pragma omp parallel for default( none ) shared( allcouplings, allDenominators, allMEs, allmomenta, allNumerators, allrndcol, allrndhel, allselcol, allselhel, cGoodHel, channelId, cNGoodHel, mgOnGpu::icolamp, MEs_ighel, npagV2 )
#else
#pragma omp parallel for default( none ) shared( allcouplings, allMEs, allmomenta, allrndcol, allrndhel, allselcol, allselhel, cGoodHel, cNGoodHel, MEs_ighel, npagV2 )
#endif
#endif // _OPENMP
for( int ipagV2 = 0; ipagV2 < npagV2; ++ipagV2 )
{
Expand Down

0 comments on commit 3b886c3

Please sign in to comment.