![]() |
alpaka
Abstraction Library for Parallel Kernel Acceleration
|
#include "alpaka/api/cuda/Api.hpp"#include "alpaka/api/hip/Api.hpp"#include "alpaka/api/host/Api.hpp"#include "alpaka/api/oneApi/Api.hpp"#include "alpaka/core/config.hpp"#include "alpaka/meta/filter.hpp"#include "alpaka/onHost/trait.hpp"#include <algorithm>#include <type_traits>Go to the source code of this file.
Namespaces | |
| namespace | alpaka |
| main alpaka namespace. | |
| namespace | alpaka::api |
| namespace | alpaka::onHost |
| Functionality which is usable on the host CPU controller thread. | |
Functions | |
| constexpr bool | alpaka::api::operator!= (alpaka::concepts::Api auto lhs, alpaka::concepts::Api auto rhs) |
| constexpr bool | alpaka::api::operator== (alpaka::concepts::Api auto lhs, alpaka::concepts::Api auto rhs) |
| constexpr auto | alpaka::thisApi () |
| provides the API used during the execution of the current code path | |
Variables | |
| constexpr auto | alpaka::onHost::apis = std::make_tuple(api::host, api::cuda, api::hip, api::oneApi) |
| constexpr auto | alpaka::onHost::enabledApis = meta::filter([](auto api) constexpr { return isPlatformAvaiable(api); }, apis) |