alpaka
Abstraction Library for Parallel Kernel Acceleration
QueueTestFixture.hpp
Go to the documentation of this file.
1 /* Copyright 2023 Benjamin Worpitz, Jan Stephan
2  * SPDX-License-Identifier: MPL-2.0
3  */
4 
5 #pragma once
6 #include "alpaka/alpaka.hpp"
7 
8 #include <tuple>
9 
10 namespace alpaka::test
11 {
12  template<typename TDevQueue>
14  {
15  using Dev = std::tuple_element_t<0, TDevQueue>;
16  using Queue = std::tuple_element_t<1, TDevQueue>;
18 
22  };
23 } // namespace alpaka::test
The test specifics.
Definition: TestAccs.hpp:27
ALPAKA_FN_HOST auto getDevByIdx(TPlatform const &platform, std::size_t const &devIdx) -> Dev< TPlatform >
Definition: Traits.hpp:62
typename trait::PlatformType< T >::type Platform
The platform type trait alias template to remove the ::type.
Definition: Traits.hpp:51
std::tuple_element_t< 0, TDevQueue > Dev
std::tuple_element_t< 1, TDevQueue > Queue
alpaka::Platform< Dev > Platform