55 using SimdType = ALPAKA_TYPEOF(destSimdPtr.load());
56 destSimdPtr = SimdType::fill(value);
62 template<
typename T_Value>
82 ss <<
"fill{ extents=" << extents <<
", elementsPerFrameItem" <<
", dst=" << dest
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_FN_HOST_ACC
All functions that can be used on an accelerator have to be attributed with ALPAKA_FN_ACC or ALPAKA_F...
Interface concept for objects describing multidimensional memory access.
Concept to check if a type is an accelerator.
#define ALPAKA_LOG_INFO(logLvl, callable)
Write a meta data message to the output.
#define ALPAKA_LOG_FUNCTION(logLvl)
Log the entry and exit of a scope.
ALPAKA_FN_HOST_ACC constexpr bool isnan(T const &value)
ALPAKA_FN_HOST_ACC constexpr bool isinf(T const &value)
ALPAKA_FN_HOST_ACC constexpr bool isfinite(T const &value)
void fill(auto &internalQueue, auto executor, alpaka::concepts::IMdSpan< T_Value > auto &&dest, T_Value elementValue)
constexpr bool ieeeIsnan(T const &arg)
constexpr bool ieeeIsinf(T const &arg)
constexpr bool ieeeIsfinite(T const &arg)
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.
constexpr auto getDevice(auto &&any)
void enqueue(auto &queue, onHost::concepts::ThreadOrFrameSpec auto const &launchCfg, KernelBundle< TKernelFn, TArgs... > const &kernelBundle)
constexpr auto demangledName()
decltype(auto) getExtents(auto &&any)
Object extents.
On some constexpr function signatures ALPAKA_FN_HOST_ACC is required for CUDA; otherwise a __host__ f...
assign a value to each element of the destination
ALPAKA_FN_ACC void operator()(auto const &acc, alpaka::concepts::IMdSpan auto dest, auto const value) const
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.