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

Go to the source code of this file.

Namespaces

namespace  alpaka
 main alpaka namespace.
namespace  alpaka::concepts

Concepts

concept  alpaka::concepts::HasApi
 Concept to check if the given type implements the getApi(T x) function returning an alpaka::concepts::Api.

Functions

constexpr auto alpaka::getAlignment (auto &&any)
 Get the value type alignment of an object.
template<typename T_Type>
constexpr uint32_t alpaka::getArchSimdWidth (auto &&any)
 get SIMD with in bytes for the
template<typename T_Type>
constexpr uint32_t alpaka::getNumElemPerThread (auto &&any)
 Get the number of elements to compute per thread.
constexpr uint32_t alpaka::getNumPipelines (auto &&any)
 get the number of instruction can be issued in parallel
constexpr decltype(auto) alpaka::getApi (alpaka::concepts::HasGet auto &&any)
 Get the API an object depends on.
constexpr decltype(auto) alpaka::getApi (auto &&any)
 Get the API an object depends on.
constexpr decltype(auto) alpaka::getDeviceKind (alpaka::concepts::HasGet auto &&any)
 Get the device type of an object.
constexpr decltype(auto) alpaka::getDeviceKind (auto &&any)
 Get the device type of an object.