![]() |
alpaka
Abstraction Library for Parallel Kernel Acceleration
|
#include "alpaka/api/api.hpp"#include "alpaka/onHost/DeviceSelector.hpp"#include <functional>#include <tuple>#include <utility>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 | |
| auto | alpaka::onHost::executeForEach (auto &&callable, auto const &backends) |
| execute a callable for each active accelerator tag | |
| auto | alpaka::onHost::executeForEachIfHasDevice (auto &&callable, auto const &tupleOfBackends) |
| execute a callable for each active backend if there is a device available | |
| template<onHost::concepts::DeviceSpec... T_DeviceSpecs> | |
| auto | alpaka::onHost::executeForEachIfHasDevice (auto &&callable, std::tuple< T_DeviceSpecs... > const &tupleOfDeviceSpecs) |