Function poc_kokkos_rs::routines::dispatch::serial
source · pub fn serial<const N: usize>(
execp: ExecutionPolicy<N>,
kernel: SerialForKernelType<'_, N>
) -> Result<(), DispatchError>
Expand description
CPU dispatch routine of for
statements. Does not depend on enabled feature(s).
The dispatch function execute the kernel accordingly to the directives contained in the execution policy. The kernel signature does not vary according to enabled features as this is the invariant fallback dispatch routine.