Celeritas
0.5.0-86+4a8eea4
|
Profile and launch core stepping loop kernels. More...
#include <ActionLauncher.device.hh>
Public Member Functions | |
ActionLauncher (StepActionT const &action) | |
Create a launcher from an action. | |
ActionLauncher (StepActionT const &action, std::string_view ext) | |
Create a launcher with a string extension. | |
void | operator() (CoreState< MemSpace::device > const &state, F const &execute_thread) const |
Launch a kernel for the wrapped executor. | |
void | operator() (StepActionT const &action, CoreParams const ¶ms, CoreState< MemSpace::device > const &state, F const &execute_thread) const |
Launch with reduced grid size for when tracks are sorted. More... | |
Public Member Functions inherited from celeritas::KernelLauncher< F > | |
KernelLauncher (std::string_view name) | |
Create a launcher from a label. | |
void | operator() (Range< ThreadId > threads, StreamId stream_id, F const &execute_thread) const |
Launch a kernel for a thread range. | |
void | operator() (size_type num_threads, StreamId stream_id, F const &execute_thread) const |
Launch a kernel with a custom number of threads. More... | |
Profile and launch core stepping loop kernels.
This is an extension to KernelLauncher
which uses an action's label and takes core params/state to determine the launch size and/or action range.
Example:
void celeritas::ActionLauncher< F >::operator() | ( | StepActionT const & | action, |
CoreParams const & | params, | ||
CoreState< MemSpace::device > const & | state, | ||
F const & | execute_thread | ||
) | const |
Launch with reduced grid size for when tracks are sorted.
These argument should be consistent with those in ActionLauncher.hh
.