Skip to content

Commit

Permalink
MOve back to compile-time constants
Browse files Browse the repository at this point in the history
  • Loading branch information
valassi committed Aug 17, 2020
1 parent b138c41 commit 576ba40
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ namespace MG5_sm
using mgOnGpu::np4;
#if defined MGONGPU_LAYOUT_ASA
using mgOnGpu::npar;
//using mgOnGpu::neppM; // constant at compile-time
const int neppM = cNeppM[0]; // retrieved from device constant memory
using mgOnGpu::neppM; // constant at compile-time
//const int neppM = cNeppM[0]; // retrieved from device constant memory
const int ipagM = ievt/neppM; // #eventpage in this iteration
const int ieppM = ievt%neppM; // #event in the current eventpage in this iteration
// ASA: allmomenta[npag][npar][np4][nepp]
Expand Down

0 comments on commit 576ba40

Please sign in to comment.