Module poc_kokkos_rs::functor

source ·
Expand description

functor & kernel related code

This module contains all functor and kernel related code. Its content is highly dependant on the features enabled since the traits that a kernel must satisfy changes totally depending on the backend used.

Kernel signatures are handled using cargo features. Using conditionnal compilation, the exact trait kernels must implement are adjusted according to the backend used to dispatch statements.

In order to have actual closures match the required trait implementation, the same mechanism is used to define operations on Views.

Enums

Type Aliases