Celeritas
0.5.0-56+6b053cd
|
Profile and launch optical 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 &call_thread) const |
Launch a kernel for the wrapped executor. | |
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 optical stepping loop kernels.
This is an extension to KernelLauncher
which uses an action's label and takes the optical state to determine the launch size. The "call thread" operation (thread executor) should contain the params and state.
Example: