alpaka
Abstraction Library for Parallel Kernel Acceleration
Tag.hpp File Reference
#include "alpaka/core/BoostPredef.hpp"
#include <iostream>
#include <type_traits>

Go to the source code of this file.

Classes

struct  alpaka::TagCpuOmp2Blocks
 
struct  alpaka::TagCpuOmp2Threads
 
struct  alpaka::TagCpuSerial
 
struct  alpaka::TagCpuSycl
 
struct  alpaka::TagCpuTbbBlocks
 
struct  alpaka::TagCpuThreads
 
struct  alpaka::TagFpgaSyclIntel
 
struct  alpaka::TagGenericSycl
 
struct  alpaka::TagGpuCudaRt
 
struct  alpaka::TagGpuHipRt
 
struct  alpaka::TagGpuSyclIntel
 

Namespaces

 alpaka
 The alpaka accelerator library.
 
 alpaka::trait
 The accelerator traits.
 

Macros

#define CREATE_ACC_TAG(tag_name)
 

Typedefs

template<typename TAcc >
using alpaka::AccToTag = typename trait::AccToTag< TAcc >::type
 maps an acc type to a tag type More...
 
template<typename TTag , typename TDim , typename TIdx >
using alpaka::TagToAcc = typename trait::TagToAcc< TTag, TDim, TIdx >::type
 maps a tag type to an acc type More...
 

Variables

template<typename TAcc , typename... TTag>
constexpr bool alpaka::accMatchesTags = (std::is_same_v<alpaka::AccToTag<TAcc>, TTag> || ...)
 

Macro Definition Documentation

◆ CREATE_ACC_TAG

#define CREATE_ACC_TAG (   tag_name)
Value:
struct tag_name \
{ \
static std::string get_name() \
{ \
return #tag_name; \
} \
}

Definition at line 12 of file Tag.hpp.