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