alpaka
Abstraction Library for Parallel Kernel Acceleration
TestIdxs.hpp
Go to the documentation of this file.
1 /* Copyright 2022 Benjamin Worpitz, Erik Zenker, Matthias Werner, Bernhard Manfred Gruber
2  * SPDX-License-Identifier: MPL-2.0
3  */
4 
5 #pragma once
6 
7 #include <cstdint>
8 #include <tuple>
9 
10 namespace alpaka::test
11 {
12  //! A std::tuple holding idx types.
13  using TestIdxs = std::tuple<
14  // size_t is most probably identical to either std::uint64_t or std::uint32_t.
15  // This would lead to duplicate tests (especially test names) which is not allowed.
16  // std::size_t,
17 #if !defined(ALPAKA_CI)
18  std::int64_t,
19 #endif
20  std::uint64_t,
21  std::int32_t
22 #if !defined(ALPAKA_CI)
23  ,
24  std::uint32_t
25 #endif
26  // index type must be >=32bit
27  >;
28 } // namespace alpaka::test
The test specifics.
Definition: TestAccs.hpp:26
std::tuple< std::int64_t, std::uint64_t, std::int32_t, std::uint32_t > TestIdxs
A std::tuple holding idx types.
Definition: TestIdxs.hpp:27