Correlation 4.10.0
An Analysis Tool for Liquids and for Amorphous Solids
Loading...
Searching...
No Matches
SIMDUtils.hpp
Go to the documentation of this file.
1
8
9#pragma once
10
11#include "math/SIMDConfig.hpp" // IWYU pragma: export
12#include "math/simd/SIMDDistance.hpp" // IWYU pragma: export
13#include "math/simd/SIMDNormalization.hpp" // IWYU pragma: export
14#include "math/simd/SIMDScattering.hpp" // IWYU pragma: export
15#include "math/simd/SIMDTypes.hpp" // IWYU pragma: export
16
17namespace correlation::math {
18
23[[nodiscard]] inline const char *simdLevelString() noexcept {
24#ifdef CORRELATION_SIMD_AVX512
25 return "AVX-512";
26#elifdef CORRELATION_SIMD_AVX2
27 return "AVX2";
28#else
29 return "Scalar";
30#endif
31}
32
33} // namespace correlation::math
Configuration macros for SIMD instruction sets and compiler specifics.
SIMD-accelerated distance and position block calculation routines.
SIMD-accelerated integral, RDF normalization, and bin scaling routines.
SIMD-accelerated dot product, Debye sum, complex exponential, and Miller phase sum kernels.
Common parameter containers, POD types, and scalar helpers for SIMD operations.
Defines universal mathematical and physical constants.
const char * simdLevelString() noexcept
Returns a string describing the compiled SIMD instruction set level.
Definition SIMDUtils.hpp:23