Stratax 0.4.0rc1
Loading...
Searching...
No Matches
Config.hpp
Go to the documentation of this file.
1
4#pragma once
5
6#include <cstddef>
7
8namespace stratax::core::config {
9
11inline constexpr std::size_t default_alignment = 64;
12
14inline constexpr bool bounds_checking = true;
15
17inline constexpr bool use_simd = true;
18
20inline constexpr bool use_multithreading = false;
21
23inline constexpr bool use_cuda = false;
24
25}
constexpr bool bounds_checking
Reserved bounds-checking flag; current accessors do not consult it.
Definition Config.hpp:14
constexpr bool use_cuda
Reserved CUDA flag; no current operations dispatch on this value.
Definition Config.hpp:23
constexpr bool use_multithreading
Reserved threading flag; no current operations dispatch on this value.
Definition Config.hpp:20
constexpr std::size_t default_alignment
Default alignment used by Stratax allocations.
Definition Config.hpp:11
constexpr bool use_simd
Reserved SIMD flag; no current operations dispatch on this value.
Definition Config.hpp:17