alpaka
Abstraction Library for Parallel Kernel Acceleration
Loading...
Searching...
No Matches
transform.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  alpaka
 main alpaka namespace.
namespace  alpaka::onHost
 Functionality which is usable on the host CPU controller thread.

Functions

template<typename T_Device, alpaka::concepts::QueueKind T_QueueKind>
void alpaka::onHost::transform (Queue< T_Device, T_QueueKind > const &queue, alpaka::concepts::Executor auto const exec, alpaka::concepts::IMdSpan auto &&out, auto &&fn, alpaka::concepts::IDataSource auto &&... in)
 Transform the input data with the given function and write the result to the output data.
template<typename T_Device, alpaka::concepts::QueueKind T_QueueKind>
void alpaka::onHost::transform (Queue< T_Device, T_QueueKind > const &queue, alpaka::concepts::IMdSpan auto &&out, auto &&fn, alpaka::concepts::IDataSource auto &&... in)
 A available default executor will be selected automatically.