Skip to content

Commit

Permalink
[color2] regenerate susy_gg_t1t1.mad after accepting Olivier's sugges…
Browse files Browse the repository at this point in the history
…tions: all ok, minor cosmetic changes in formatting
  • Loading branch information
valassi committed Jul 2, 2024
1 parent 775f8cc commit 013e53d
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
14 changes: 7 additions & 7 deletions epochX/cudacpp/susy_gg_t1t1.mad/CODEGEN_mad_susy_gg_t1t1_log.txt
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ INFO: Please specify coupling orders to bypass this step.
INFO: Trying coupling order WEIGHTED<=2: WEIGTHED IS QCD+2*QED
INFO: Trying process: g g > t1 t1~ WEIGHTED<=2 @1
INFO: Process has 6 diagrams
1 processes with 6 diagrams generated in 0.126 s
1 processes with 6 diagrams generated in 0.123 s
Total: 1 processes with 6 diagrams
output madevent_simd ../TMPOUT/CODEGEN_mad_susy_gg_t1t1 --hel_recycling=False --vector_size=32
Load PLUGIN.CUDACPP_OUTPUT
Expand All @@ -577,7 +577,7 @@ INFO: Generating Helas calls for process: g g > t1 t1~ WEIGHTED<=2 @1
INFO: Processing color information for process: g g > t1 t1~ @1
INFO: Creating files in directory P1_gg_t1t1x
DEBUG: kwargs[prefix] = 0 [model_handling.py at line 1151] 
DEBUG: process_exporter_cpp =  <PLUGIN.CUDACPP_OUTPUT.model_handling.PLUGIN_OneProcessExporter object at 0x7fa544e46af0> [export_v4.py at line 6264] 
DEBUG: process_exporter_cpp =  <PLUGIN.CUDACPP_OUTPUT.model_handling.PLUGIN_OneProcessExporter object at 0x7fa03098ad60> [export_v4.py at line 6264] 
INFO: Creating files in directory .
FileWriter <class 'PLUGIN.CUDACPP_OUTPUT.model_handling.PLUGIN_CPPWriter'> for ././CPPProcess.h
FileWriter <class 'PLUGIN.CUDACPP_OUTPUT.model_handling.PLUGIN_CPPWriter'> for ././CPPProcess.cc
Expand Down Expand Up @@ -607,13 +607,13 @@ ALOHA: aloha starts to compute helicity amplitudes
ALOHA: aloha creates VVV1 set of routines with options: P0
ALOHA: aloha creates VSS1 routines
ALOHA: aloha creates VVSS1 routines
ALOHA: aloha creates 3 routines in 0.183 s
ALOHA: aloha creates 3 routines in 0.184 s
DEBUG: Entering PLUGIN_ProcessExporter.convert_model (create the model) [output.py at line 205] 
ALOHA: aloha starts to compute helicity amplitudes
ALOHA: aloha creates VVV1 set of routines with options: P0
ALOHA: aloha creates VSS1 routines
ALOHA: aloha creates VVSS1 routines
ALOHA: aloha creates 6 routines in 0.182 s
ALOHA: aloha creates 6 routines in 0.181 s
<class 'aloha.create_aloha.AbstractRoutine'> VVV1
<class 'aloha.create_aloha.AbstractRoutine'> VSS1
<class 'aloha.create_aloha.AbstractRoutine'> VSS1
Expand Down Expand Up @@ -655,9 +655,9 @@ Type "launch" to generate events from this process, or see
Run "open index.html" to see more information about this process.
quit

real 0m2.988s
user 0m2.682s
sys 0m0.306s
real 0m3.378s
user 0m2.695s
sys 0m0.313s
Code generation completed in 3 seconds
************************************************************
* *
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,22 +30,22 @@ namespace mgOnGpu
// Note: iconfig=-1 indicates channels/diagrams with no associated iconfig for single-diagram enhancement in the MadEvent sampling algorithm (presence of 4-point interaction?)
// This array has N_diagrams elements, but only N_config <= N_diagrams valid values (iconfig>0)
__device__ constexpr int channel2iconfig[6] = { // note: a trailing comma in the initializer list is allowed
-1, // CHANNEL_ID=1 i.e. DIAGRAM=1 --> ICONFIG=-1 (diagram with no associated iconfig for single-diagram enhancement)
1, // CHANNEL_ID=2 i.e. DIAGRAM=2 --> ICONFIG=1
2, // CHANNEL_ID=3 i.e. DIAGRAM=3 --> ICONFIG=2
3, // CHANNEL_ID=4 i.e. DIAGRAM=4 --> ICONFIG=3
4, // CHANNEL_ID=5 i.e. DIAGRAM=5 --> ICONFIG=4
5, // CHANNEL_ID=6 i.e. DIAGRAM=6 --> ICONFIG=5
-1, // CHANNEL_ID=1 i.e. DIAGRAM=1 --> ICONFIG=-1 (diagram with no associated iconfig for single-diagram enhancement)
1, // CHANNEL_ID=2 i.e. DIAGRAM=2 --> ICONFIG=1
2, // CHANNEL_ID=3 i.e. DIAGRAM=3 --> ICONFIG=2
3, // CHANNEL_ID=4 i.e. DIAGRAM=4 --> ICONFIG=3
4, // CHANNEL_ID=5 i.e. DIAGRAM=5 --> ICONFIG=4
5, // CHANNEL_ID=6 i.e. DIAGRAM=6 --> ICONFIG=5
};

// Map iconfig to the mask of allowed colors (e.g. "colormask = icolamp[iconfig - 1]": input index uses C indexing)
// This array has N_config <= N_diagrams elements
__device__ constexpr bool icolamp[5][2] = { // note: a trailing comma in the initializer list is allowed
{ true, true }, // ICONFIG=1 <-- CHANNEL_ID=2
{ true, false }, // ICONFIG=2 <-- CHANNEL_ID=3
{ true, false }, // ICONFIG=3 <-- CHANNEL_ID=4
{ false, true }, // ICONFIG=4 <-- CHANNEL_ID=5
{ false, true }, // ICONFIG=5 <-- CHANNEL_ID=6
{ true, true }, // ICONFIG=1 <-- CHANNEL_ID=2
{ true, false }, // ICONFIG=2 <-- CHANNEL_ID=3
{ true, false }, // ICONFIG=3 <-- CHANNEL_ID=4
{ false, true }, // ICONFIG=4 <-- CHANNEL_ID=5
{ false, true }, // ICONFIG=5 <-- CHANNEL_ID=6
};

}
Expand Down

0 comments on commit 013e53d

Please sign in to comment.