alpaka
Abstraction Library for Parallel Kernel Acceleration
Loading...
Searching...
No Matches
CVec.hpp File Reference
#include "alpaka/Vec.hpp"
#include "alpaka/core/common.hpp"
#include <array>
#include <concepts>
#include <cstdint>
#include <functional>
#include <type_traits>
#include <utility>

Go to the source code of this file.

Namespaces

namespace  alpaka
 main alpaka namespace.

Typedefs

template<typename T, T... T_values>
using alpaka::CVec = Vec<T, sizeof...(T_values), detail::CVec<T, T_values...>>
 A vector with compile-time known values.

Functions

template<typename T, uint32_t T_dim, T T_val>
consteval auto alpaka::fillCVec ()
 Create and return a CVector of some length, filled with the given value.
constexpr auto alpaka::filter (concepts::CVector auto left, concepts::CVector auto right)
 Filter the left vector with the right vector's values.
template<typename T, uint32_t T_dim>
consteval auto alpaka::iotaCVec ()
 Create and return a CVector of the given length with values 1, 2, ...