alpaka
Abstraction Library for Parallel Kernel Acceleration
Traits.hpp File Reference
#include "alpaka/core/Common.hpp"
#include "alpaka/core/Interface.hpp"
#include "alpaka/core/Positioning.hpp"
#include "alpaka/idx/Traits.hpp"
#include "alpaka/vec/Vec.hpp"
#include <type_traits>
#include <utility>

Go to the source code of this file.

Classes

struct  alpaka::ConceptWorkDiv
 
struct  alpaka::trait::GetWorkDiv< TWorkDiv, origin::Block, unit::Elems >
 The work div block element extent trait specialization. More...
 
struct  alpaka::trait::GetWorkDiv< TWorkDiv, origin::Grid, unit::Elems >
 The work div grid element extent trait specialization. More...
 
struct  alpaka::trait::GetWorkDiv< TWorkDiv, origin::Grid, unit::Threads >
 The work div grid thread extent trait specialization. More...
 

Namespaces

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

Functions

template<typename TOrigin , typename TUnit , typename TWorkDiv >
ALPAKA_NO_HOST_ACC_WARNING ALPAKA_FN_HOST_ACC auto alpaka::getWorkDiv (TWorkDiv const &workDiv) -> Vec< Dim< TWorkDiv >, Idx< TWorkDiv >>
 Get the extent requested. More...