![]() |
alpaka
Abstraction Library for Parallel Kernel Acceleration
|
Marks a functor that can only be executed with scalar types and not SIMD packages. More...
#include <functor.hpp>
Public Types | |
| using | Functor = T_Func |
Public Member Functions | |
| constexpr | ScalarFunc (auto &&func) |
Marks a functor that can only be executed with scalar types and not SIMD packages.
The functor will be executed element wise for SIMD packages due to methods used which prevent using SIMD packages directly.
Definition at line 38 of file functor.hpp.
| using alpaka::ScalarFunc< T_Func >::Functor = T_Func |
Definition at line 40 of file functor.hpp.
|
inlineconstexpr |
Definition at line 42 of file functor.hpp.