Stratax
Scientific computing containers and operations
Loading...
Searching...
No Matches
stratax::core::config Namespace Reference

Variables

constexpr std::size_t default_alignment = 64
 Default alignment used by Stratax allocations.
constexpr bool bounds_checking = true
 Enables or disables bounds checking in array operations.
constexpr bool use_simd = true
 Controls whether SIMD code paths are enabled.
constexpr bool use_multithreading = false
 Controls whether multithreaded code paths are enabled.
constexpr bool use_cuda = false
 Controls whether CUDA code paths are enabled.

Variable Documentation

◆ bounds_checking

bool stratax::core::config::bounds_checking = true
inlineconstexpr

Enables or disables bounds checking in array operations.

Definition at line 11 of file Config.hpp.

◆ default_alignment

std::size_t stratax::core::config::default_alignment = 64
inlineconstexpr

Default alignment used by Stratax allocations.

Definition at line 8 of file Config.hpp.

◆ use_cuda

bool stratax::core::config::use_cuda = false
inlineconstexpr

Controls whether CUDA code paths are enabled.

Definition at line 20 of file Config.hpp.

◆ use_multithreading

bool stratax::core::config::use_multithreading = false
inlineconstexpr

Controls whether multithreaded code paths are enabled.

Definition at line 17 of file Config.hpp.

◆ use_simd

bool stratax::core::config::use_simd = true
inlineconstexpr

Controls whether SIMD code paths are enabled.

Definition at line 14 of file Config.hpp.