Celeritas 0.6.0-47+develop.b3cbb238
|
#include <utility>
#include "corecel/Config.hh"
#include "corecel/Assert.hh"
#include "corecel/Types.hh"
#include "corecel/sys/MultiExceptionHandler.hh"
#include "corecel/sys/ThreadId.hh"
#include "celeritas/optical/CoreState.hh"
Functions | |
template<class F > | |
void | celeritas::optical::launch_action (CoreState< MemSpace::host > &state, F &&execute_thread) |
Helper function to run an action in parallel on CPU over all states. | |
void celeritas::optical::launch_action | ( | CoreState< MemSpace::host > & | state, |
F && | execute_thread | ||
) |
Helper function to run an action in parallel on CPU over all states.
Example: