Celeritas
0.5.0-57+aeecb15
|
#include <utility>
#include "corecel/Config.hh"
#include "MultiExceptionHandler.hh"
#include "ThreadId.hh"
Functions | |
template<class F > | |
void | celeritas::launch_kernel (size_type num_threads, F &&execute_thread) |
Helper function to run an executor in parallel on CPU. More... | |
void celeritas::launch_kernel | ( | size_type | num_threads, |
F && | execute_thread | ||
) |
Helper function to run an executor in parallel on CPU.
The function should be an executor with the signature
.
Example: