mcvine / acc

Accelerated mcvine engine
0 stars 1 forks source link

Buffered run script option #79

Open ckendrick opened 2 years ago

ckendrick commented 2 years ago

This adds a use_buffer option to run_script.run which changes the way an instrument script is compiled. The buffered version launches each component process kernel separately rather than one kernel for each component's propagate.

This is mainly to help explore different options (refer to #77) for running the instrument to help performance with components like the tapered guide. With this buffered approach, each component can have a different kernel launch configuration, which may help occupancy for particular components or allow for filtering of absorbed neutrons between components.