18namespace alpaka::internal::generic
25 return alpaka::math::internal::ieeeIsnan(value);
31 return alpaka::math::internal::ieeeIsinf(value);
37 return alpaka::math::internal::ieeeIsfinite(value);
47 ALPAKA_FN_ACC void operator()(
auto const& acc, alpaka::concepts::IMdSpan
auto dest,
auto const value)
const
53 [value](onAcc::concepts::Acc
auto const&,
auto destSimdPtr)
constexpr
55 using SimdType = ALPAKA_TYPEOF(destSimdPtr.load());
56 destSimdPtr = SimdType::fill(value);
62 template<
typename T_Value>
66 alpaka::concepts::IMdSpan<T_Value>
auto&& dest,
73 = onHost::internal::getFrameSpec<T_Value>(*onHost::internal::getDevice(internalQueue), executor, extents);
80 ss <<
"fill{ extents=" << extents <<
", elementsPerFrameItem" <<
", dst=" << dest
85 onHost::internal::enqueue(internalQueue, frameSpec,
KernelBundle{SimdFillKernel{}, dest, elementValue});
#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...
#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.
constexpr auto threadsInGrid
constexpr auto demangledName()
decltype(auto) getExtents(auto &&any)
Object extents.
ALPAKA_FN_HOST KernelBundle(TKernelFn const &, TArgs &&...) -> KernelBundle< TKernelFn, TArgs... >
User defined deduction guide with trailing return type. For CTAD during the construction.
On some constexpr function signatures ALPAKA_FN_HOST_ACC is required for CUDA; otherwise a __host__ f...