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

Go to the source code of this file.

Classes

struct  alpaka::BlockAnd
 The logical and function object. More...
 
struct  alpaka::BlockCount
 The counting function object. More...
 
struct  alpaka::BlockOr
 The logical or function object. More...
 
struct  alpaka::ConceptBlockSync
 

Namespaces

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

Functions

template<typename TBlockSync >
ALPAKA_NO_HOST_ACC_WARNING ALPAKA_FN_ACC auto alpaka::syncBlockThreads (TBlockSync const &blockSync) -> void
 Synchronizes all threads within the current block (independently for all blocks). More...
 
template<typename TOp , typename TBlockSync >
ALPAKA_NO_HOST_ACC_WARNING ALPAKA_FN_ACC auto alpaka::syncBlockThreadsPredicate (TBlockSync const &blockSync, int predicate) -> int
 Synchronizes all threads within the current block (independently for all blocks), evaluates the predicate for all threads and returns the combination of all the results computed via TOp. More...