alpaka
Abstraction Library for Parallel Kernel Acceleration
Transform.hpp
Go to the documentation of this file.
1
/* Copyright 2022 Benjamin Worpitz, Bernhard Manfred Gruber
2
* SPDX-License-Identifier: MPL-2.0
3
*/
4
5
#pragma once
6
7
namespace
alpaka::meta
8
{
9
namespace
detail
10
{
11
template
<
typename
Ts,
template
<
typename
...>
class
TOp>
12
struct
TransformImpl
;
13
14
template
<
template
<
typename
...>
class
TList,
typename
... Ts,
template
<
typename
...>
class
TOp>
15
struct
TransformImpl
<TList<Ts...>, TOp>
16
{
17
using
type
= TList<TOp<Ts>...>;
18
};
19
}
// namespace detail
20
template
<
typename
Ts,
template
<
typename
...>
class
TOp>
21
using
Transform
=
typename
detail::TransformImpl<Ts, TOp>::type
;
22
}
// namespace alpaka::meta
alpaka::meta
Definition:
Apply.hpp:8
alpaka::meta::Transform
typename detail::TransformImpl< Ts, TOp >::type Transform
Definition:
Transform.hpp:21
alpaka::meta::detail::TransformImpl< TList< Ts... >, TOp >::type
TList< TOp< Ts >... > type
Definition:
Transform.hpp:17
alpaka::meta::detail::TransformImpl
Definition:
Transform.hpp:12
include
alpaka
meta
Transform.hpp
Generated on Thu Dec 12 2024 11:51:45 for alpaka by
1.9.1