alpaka
Abstraction Library for Parallel Kernel Acceleration
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
Variables
a
b
d
e
h
i
l
n
o
p
s
u
w
Typedefs
a
b
c
d
e
f
h
i
l
m
n
p
q
r
t
u
Enumerations
Concepts
Classes
Class List
Class Hierarchy
Class Members
All
:
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
z
~
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
z
~
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
p
q
r
s
t
v
w
Typedefs
a
b
c
d
e
f
h
i
k
l
m
p
q
r
s
t
v
w
Enumerations
Enumerator
Related Symbols
Files
File List
File Members
All
a
b
c
i
m
p
t
u
Functions
Typedefs
Macros
a
b
c
m
p
t
u
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Concepts
Loading...
Searching...
No Matches
TagAccIsEnabled.hpp
Go to the documentation of this file.
1
#pragma once
2
3
// include all Acc's because of the struct AccIsEnabled
4
// if an acc is not include, it will be not enabled independent of the compiler flags
5
#include "
alpaka/acc/AccCpuOmp2Blocks.hpp
"
6
#include "
alpaka/acc/AccCpuOmp2Threads.hpp
"
7
#include "
alpaka/acc/AccCpuSerial.hpp
"
8
#include "
alpaka/acc/AccCpuSycl.hpp
"
9
#include "
alpaka/acc/AccCpuTbbBlocks.hpp
"
10
#include "
alpaka/acc/AccCpuThreads.hpp
"
11
#include "
alpaka/acc/AccFpgaSyclIntel.hpp
"
12
#include "
alpaka/acc/AccGpuCudaRt.hpp
"
13
#include "
alpaka/acc/AccGpuHipRt.hpp
"
14
#include "
alpaka/acc/Tag.hpp
"
15
#include "
alpaka/dim/DimIntegralConst.hpp
"
16
#include "
alpaka/meta/Filter.hpp
"
17
18
#include <type_traits>
19
20
namespace
alpaka
21
{
22
//! \brief check if the accelerator is enabled for a given tag
23
//! \tparam TTag alpaka tag type
24
template
<concepts::Tag TTag,
typename
=
void
>
25
struct
AccIsEnabled
: std::false_type
26
{
27
};
25
struct
AccIsEnabled
: std::false_type {
…
};
28
29
template
<concepts::Tag TTag>
30
struct
AccIsEnabled
<TTag,
std
::void_t<TagToAcc<TTag, alpaka::DimInt<1>, int>>> : std::true_type
31
{
32
};
30
struct
AccIsEnabled
<TTag,
std
::void_t<TagToAcc<TTag, alpaka::DimInt<1>, int>>> : std::true_type {
…
};
33
34
//! list of all tags where the related accelerator is enabled
35
using
EnabledAccTags
=
alpaka::meta::Filter<AccTags, alpaka::AccIsEnabled>
;
36
37
}
// namespace alpaka
AccCpuOmp2Blocks.hpp
AccCpuOmp2Threads.hpp
AccCpuSerial.hpp
AccCpuSycl.hpp
AccCpuTbbBlocks.hpp
AccCpuThreads.hpp
AccFpgaSyclIntel.hpp
AccGpuCudaRt.hpp
AccGpuHipRt.hpp
DimIntegralConst.hpp
Filter.hpp
Tag.hpp
alpaka::meta::Filter
typename detail::FilterImpl< TList, TPred >::type Filter
Definition
Filter.hpp:46
alpaka
The alpaka accelerator library.
Definition
AccCpuOmp2Blocks.hpp:49
alpaka::EnabledAccTags
alpaka::meta::Filter< AccTags, alpaka::AccIsEnabled > EnabledAccTags
list of all tags where the related accelerator is enabled
Definition
TagAccIsEnabled.hpp:35
std
STL namespace.
alpaka::AccIsEnabled
check if the accelerator is enabled for a given tag
Definition
TagAccIsEnabled.hpp:26
include
alpaka
acc
TagAccIsEnabled.hpp
Generated on Thu Mar 27 2025 15:41:10 for alpaka by
1.9.8