Skip to content

Commit

Permalink
[susy2] in susyggtt.sa Parameters.h, use fptype instead of fptype_sv …
Browse files Browse the repository at this point in the history
…for mdl_G__exp__2 in FPTYPE=f

'make HRDCOD=0 FPTYPE=f -j' builds now succeed and the tests succeed too.

'make HRDCOD=0 FPTYPE=m -j' builds now also succeed and the tests succeed too.

'CUDA_HOME=none make HRDCOD=1' builds and tests also succeed with FPTYPE=d,f,m

The only pending problem are CUDA HRDCOD=1 builds because of missing constexpr sin/cos/atan (madgraph5#627)

This is probably ready to be backported to CODEGEN and eventually merged
  • Loading branch information
valassi committed Feb 14, 2024
1 parent ac1843c commit 94f61a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion epochX/cudacpp/susy_gg_tt.sa/src/Parameters_MSSM_SLHA2.h
Original file line number Diff line number Diff line change
Expand Up @@ -858,7 +858,7 @@ namespace mg5amcCpu
// Model parameters dependent on aS
//const fptype mdl_sqrt__aS = constexpr_sqrt( aS );
//const fptype G = 2. * mdl_sqrt__aS * constexpr_sqrt( M_PI );
const fptype_sv mdl_G__exp__2 = ( ( G ) * ( G ) );
const fptype mdl_G__exp__2 = ( ( G ) * ( G ) );
// Model couplings dependent on aS
const cxtype GC_6 = -G;
const cxtype GC_51 = -( cI * G * mdl_I51x11 );
Expand Down

0 comments on commit 94f61a6

Please # to comment.