alpaka
Abstraction Library for Parallel Kernel Acceleration
DimIntegralConst.hpp
Go to the documentation of this file.
1 /* Copyright 2020 Benjamin Worpitz, Bernhard Manfred Gruber
2  * SPDX-License-Identifier: MPL-2.0
3  */
4 
5 #pragma once
6 
7 #include "alpaka/dim/Traits.hpp"
8 
9 #include <type_traits>
10 
11 namespace alpaka
12 {
13  // N(th) dimension(s).
14  template<std::size_t N>
15  using DimInt = std::integral_constant<std::size_t, N>;
16 } // namespace alpaka
The alpaka accelerator library.
std::integral_constant< std::size_t, N > DimInt