Skip to content

Scalar dispatch and benchmarks

Andrei Gheata requested to merge agheata/scalar_dispatch_and_benchmarks into master

The branch adds the following parameters in the TestEm3_GV and FullCMS examples:

  • The basket activation options: config-vectorized-geom, config-vectorized-physics, config-vectorized-MSC and field-basketized take now not only 0-de-activated 1-activated, but also: 2-baketize but dispatch baskets in scalar mode
  • config-monitoring 1 activates printing handler statistics: number of tracks handled, number of baskets processed in scalar mode/vector mode. The list of handlers is sorted in decreasing number of tracks handled.

There are new scripts in benchmarks/FullCMS and benchmarks/TestEm3 with name ending in _GV. These take as input the bench_GV.sh script from the same folder and should be run like:

FullCMS_GV.run bench_GV.sh

This will run the GeantV simulation corresponding to the settings in bench_GV.sh N times, printing only the final timings. To be used to benchmark different configurations of GeantV, specially with config_vectorized... options 0 (scalar) versus 2 (baskets w. scalar dispatch), but also 1 (vectorized)

Edited by Andrei Gheata

Merge request reports