|
Celeritas 0.7+b3eeee4
|
Profile and launch optical stepping loop kernels. More...
#include <ActionLauncher.device.hh>

Public Member Functions | |
| ActionLauncher (std::string_view name) | |
| template<class StepActionT > | |
| ActionLauncher (StepActionT const &action) | |
| Create a launcher from an action. | |
| template<class StepActionT > | |
| 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 &&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. | |
| std::string const & | name () const |
| Name of this kernel. | |
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: