cyqlone develop
Fast, parallel and vectorized solver for linear systems with optimal control structure.
Loading...
Searching...
No Matches
barrier.hpp File Reference

Detailed Description

Barrier synchronization primitive.

Definition in file barrier.hpp.

#include <cyqlone/config.hpp>
#include <batmat/assume.hpp>
#include <array>
#include <atomic>
#include <cstdint>
#include <cstring>
#include <functional>
#include <memory>
#include <type_traits>

Go to the source code of this file.

Classes

struct  cyqlone::EmptyCompletion
 No-op completion function for the TreeBarrier. More...
class  cyqlone::TreeBarrier< CompletionFn, PhaseType >
 Fairly vanilla combining tree barrier. More...
class  cyqlone::TreeBarrier< CompletionFn, PhaseType >::arrival_token
class  cyqlone::TreeBarrier< CompletionFn, PhaseType >::arrival_token_typed< T >
struct  cyqlone::TreeBarrier< CompletionFn, PhaseType >::Storage
 Storage for small values used in reductions and broadcasts. More...
struct  cyqlone::TreeBarrier< CompletionFn, PhaseType >::State
 Atomic counters for each level of the combining tree. More...

Namespaces

namespace  cyqlone

Macros

#define CYQLONE_SANITY_CHECKS_BARRIER   1

Macro Definition Documentation

◆ CYQLONE_SANITY_CHECKS_BARRIER

#define CYQLONE_SANITY_CHECKS_BARRIER   1

Definition at line 19 of file barrier.hpp.