numerics 0.1.0
Loading...
Searching...
No Matches
num::kernel Namespace Reference

Namespaces

namespace  array
 
namespace  dense
 
namespace  raw
 
namespace  reduce
 
namespace  subspace
 

Classes

struct  par_t
 Parallel execution policy tag. Activates OMP parallel-for / reduction constructs when NUMERICS_HAS_OMP. Falls through to seq_t behaviour when OMP is not available. More...
 
struct  seq_t
 Sequential execution policy tag. Guarantees no OMP parallel regions; safe to call inside an existing parallel region without causing nested-parallelism overhead. More...
 

Typedefs

using default_policy = seq_t
 Default policy: par_t if OMP is available, seq_t otherwise. Selected at configure time; zero runtime overhead.
 

Variables

constexpr seq_t kseq {}
 
constexpr par_t kpar {}
 
constexpr default_policy kdefault {}
 

Typedef Documentation

◆ default_policy

Default policy: par_t if OMP is available, seq_t otherwise. Selected at configure time; zero runtime overhead.

Definition at line 53 of file policy.hpp.

Variable Documentation

◆ kdefault

constexpr default_policy num::kernel::kdefault {}
inlineconstexpr

Definition at line 56 of file policy.hpp.

◆ kpar

constexpr par_t num::kernel::kpar {}
inlineconstexpr

Definition at line 46 of file policy.hpp.

◆ kseq

constexpr seq_t num::kernel::kseq {}
inlineconstexpr

Definition at line 45 of file policy.hpp.