alpaka
Abstraction Library for Parallel Kernel Acceleration
Loading...
Searching...
No Matches
scan.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_Data>
auto alpaka::onHost::getScanBufferSize (alpaka::concepts::VectorOrScalar auto const &extents)
 For a scan of some size, this function returns the necessary buffer size in bytes.
void alpaka::onHost::inclusiveScan (auto const &queue, alpaka::concepts::Executor auto exec, alpaka::concepts::IMdSpan auto &buffer, alpaka::concepts::IMdSpan auto &outputVec, alpaka::concepts::IDataSource auto const &inputVec)
 Perform an inclusive scan on the input data and write the result to the output data.
void alpaka::onHost::inclusiveScan (auto const &queue, alpaka::concepts::Executor auto exec, alpaka::concepts::IMdSpan auto &outputVec, alpaka::concepts::IDataSource auto const &inputVec)
 Perform an inclusive scan on the input data and write the result to the output data.
void alpaka::onHost::inclusiveScanInPlace (auto const &queue, alpaka::concepts::Executor auto exec, alpaka::concepts::IMdSpan auto &buffer, alpaka::concepts::IMdSpan auto &dataVec)
 Perform an inclusive scan on data in-place.
void alpaka::onHost::inclusiveScanInPlace (auto const &queue, alpaka::concepts::Executor auto exec, alpaka::concepts::IMdSpan auto &dataVec)
 Perform an inclusive scan on data in-place.
void alpaka::onHost::exclusiveScan (auto const &queue, alpaka::concepts::Executor auto exec, alpaka::concepts::IMdSpan auto &buffer, alpaka::concepts::IMdSpan auto &outputVec, alpaka::concepts::IDataSource auto const &inputVec)
 Perform an exclusive scan on the input data and write the result to the output data.
void alpaka::onHost::exclusiveScan (auto const &queue, alpaka::concepts::Executor auto exec, alpaka::concepts::IMdSpan auto &outputVec, alpaka::concepts::IDataSource auto const &inputVec)
 Perform an exclusive scan on the input data and write the result to the output data.
void alpaka::onHost::exclusiveScanInPlace (auto const &queue, alpaka::concepts::Executor auto exec, alpaka::concepts::IMdSpan auto &buffer, alpaka::concepts::IMdSpan auto &dataVec)
 Perform an exclusive scan on data in-place.
void alpaka::onHost::exclusiveScanInPlace (auto const &queue, alpaka::concepts::Executor auto exec, alpaka::concepts::IMdSpan auto &dataVec)
 Perform an exclusive scan on data in-place.