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
5#define STRATAX_VERSION "0.1.0"
6#define STRATAX_PY_DOC "Python bindings for Stratax"
7#define STRATAX_AUTHOR "Noah Ryan"
8
10
12inline constexpr std::size_t default_alignment = 64;
13
15inline constexpr bool bounds_checking = true;
16
18inline constexpr bool use_simd = true;
19
21inline constexpr bool use_multithreading = false;
22
24inline constexpr bool use_cuda = false;
25
26}
constexpr bool bounds_checking
Enables or disables bounds checking in array operations.
Definition Config.hpp:15
constexpr bool use_cuda
Controls whether CUDA code paths are enabled.
Definition Config.hpp:24
constexpr bool use_multithreading
Controls whether multithreaded code paths are enabled.
Definition Config.hpp:21
constexpr std::size_t default_alignment
Default alignment used by Stratax allocations.
Definition Config.hpp:12
constexpr bool use_simd
Controls whether SIMD code paths are enabled.
Definition Config.hpp:18