15 #ifdef ALPAKA_ACC_CPU_B_SEQ_T_THREADS_ENABLED
20 template<
typename TIdx>
39 template<
typename TIdx>
44 blockSync.m_barrier.wait();
48 template<
typename TOp,
typename TIdx>
56 return blockSync.m_barrierWithPredicate.template wait<TOp>(predicate);
The thread id map barrier block synchronization.
BarrierWithPredicate m_barrierWithPredicate
ALPAKA_FN_HOST BlockSyncBarrierThread(TIdx const &blockThreadCount)
A self-resetting barrier with barrier.
A self-resetting barrier.
#define ALPAKA_FN_ACC
All functions that can be used on an accelerator have to be attributed with ALPAKA_FN_ACC or ALPAKA_F...
#define ALPAKA_NO_HOST_ACC_WARNING
Disable nvcc warning: 'calling a host function from host device function.' Usage: ALPAKA_NO_HOST_ACC_...
The alpaka accelerator library.
Tag used in class inheritance hierarchies that describes that a specific interface (TInterface) is im...
ALPAKA_NO_HOST_ACC_WARNING static ALPAKA_FN_ACC auto syncBlockThreadsPredicate(BlockSyncBarrierThread< TIdx > const &blockSync, int predicate) -> int
The block synchronization and predicate operation trait.
static ALPAKA_FN_HOST auto syncBlockThreads(BlockSyncBarrierThread< TIdx > const &blockSync) -> void
The block synchronization operation trait.