alpaka
Abstraction Library for Parallel Kernel Acceleration
Traits.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
namespace
alpaka
8
{
9
//! The dimension trait.
10
namespace
trait
11
{
12
//! The dimension getter type trait.
13
template
<
typename
T,
typename
TSfinae =
void
>
14
struct
DimType
;
15
}
// namespace trait
16
17
//! The dimension type trait alias template to remove the ::type.
18
template
<
typename
T>
19
using
Dim
=
typename
trait::DimType<T>::type
;
20
}
// namespace alpaka
alpaka
The alpaka accelerator library.
Definition:
AccCpuOmp2Blocks.hpp:49
alpaka::Dim
typename trait::DimType< T >::type Dim
The dimension type trait alias template to remove the ::type.
Definition:
Traits.hpp:19
alpaka::trait::DimType
The dimension getter type trait.
Definition:
Traits.hpp:14
include
alpaka
dim
Traits.hpp
Generated on Thu Nov 21 2024 22:46:14 for alpaka by
1.9.1