pub type ForKernelType<'a, const N: usize> = SerialForKernelType<'a, N>;
Expand description

parallel_for kernel type. Depends on enabled feature(s).

This type alias is configured according to enabled feature in order to adjust the signatures of kernels to match the requirements of the underlying dispatch routines.

Possible Values

  • rayon feature enabled: Box<dyn Fn(KernelArgs<N>) + Send + Sync + 'a>
  • threads feature enabled: Box<dyn Fn(KernelArgs<N>) + Send + 'a>
  • no feature enabled: fall back to SerialForKernelType

Current version: no feature

Aliased Type§

struct ForKernelType<'a, const N: usize>(/* private fields */);

Trait Implementations§

1.0.0 · source§

impl<T, A> Deref for Box<T, A>where A: Allocator, T: ?Sized,

§

type Target = T

The resulting type after dereferencing.
source§

fn deref(&self) -> &T

Dereferences the value.