26 Vec const extentMd = extents;
32 [&func](
auto const& acc,
auto&&... in)
36 "The return type for a stencil concurrent functor should be void.");
43 template<
typename T_DataType>
51 Vec const extentMd = extents;
The class used to bind kernel function object and arguments together. Once an instance of this class ...
#define ALPAKA_FN_ACC
All functions that can be used on an accelerator have to be attributed with ALPAKA_FN_ACC or ALPAKA_F...
#define ALPAKA_FORWARD(instance)
Perfectly forward an instance as argument.
Concept to check for an executor.
Concept to check if a type is a vector or scalar variable.
Concept to check if a type is an accelerator.
#define ALPAKA_LOG_INFO(logLvl, callable)
Write a meta data message to the output.
alpaka'S function interface
constexpr auto threadsInGrid
constexpr auto getSimdFrameSpec(auto const &internalDevice, alpaka::concepts::Executor auto executor, alpaka::concepts::VectorOrScalar auto const &extents)
Provides a SIMD optimized frame specification.
void concurrent(auto const &queue, alpaka::concepts::Executor auto const exec, alpaka::concepts::VectorOrScalar auto const &extents, auto &&fn, alpaka::concepts::IDataSource auto &&... in)
constexpr auto demangledName()
constexpr auto callFunctor(T_Acc const &acc, T_Functor &&functor, T_Args &&... args)
Execute the functor with or without an accelerator as first argument.
Creates a functor operate on contiguous data concurrently.
ALPAKA_FN_INLINE ALPAKA_FN_ACC constexpr void concurrent(auto const &acc, auto &&func, alpaka::concepts::IDataSource auto &&data0, alpaka::concepts::IDataSource auto &&... dataN) const
execute the functor concurrently over the given data.
ALPAKA_FN_ACC void operator()(onAcc::concepts::Acc auto const &acc, alpaka::concepts::VectorOrScalar auto const &extents, auto const &func, alpaka::concepts::IDataSource auto &&... inputs) const