![]() |
alpaka
Abstraction Library for Parallel Kernel Acceleration
|
#include "alpaka/api/trait.hpp"#include "alpaka/mem/concepts/IDataSource.hpp"#include "alpaka/onHost/algo/internal/transform.hpp"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. | |