Stratax
Scientific computing containers and operations
Toggle main menu visibility
Loading...
Searching...
No Matches
Config.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <cstddef>
4
5
namespace
stratax::core::config
{
6
8
inline
constexpr
std::size_t
default_alignment
= 64;
9
11
inline
constexpr
bool
bounds_checking
=
true
;
12
14
inline
constexpr
bool
use_simd
=
true
;
15
17
inline
constexpr
bool
use_multithreading
=
false
;
18
20
inline
constexpr
bool
use_cuda
=
false
;
21
22
}
stratax::core::config
Definition
Config.hpp:5
stratax::core::config::bounds_checking
constexpr bool bounds_checking
Enables or disables bounds checking in array operations.
Definition
Config.hpp:11
stratax::core::config::use_cuda
constexpr bool use_cuda
Controls whether CUDA code paths are enabled.
Definition
Config.hpp:20
stratax::core::config::use_multithreading
constexpr bool use_multithreading
Controls whether multithreaded code paths are enabled.
Definition
Config.hpp:17
stratax::core::config::default_alignment
constexpr std::size_t default_alignment
Default alignment used by Stratax allocations.
Definition
Config.hpp:8
stratax::core::config::use_simd
constexpr bool use_simd
Controls whether SIMD code paths are enabled.
Definition
Config.hpp:14
include
stratax
core
Config.hpp
Generated by
1.17.0