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