![]() |
Deepity
Ultra-fast, SIMD-accelerated Predictive Coding
|
SIMD-vectorized exp/log helpers (AVX512/AVX2/SSE with a scalar tail). Currently unused by the rest of the codebase – kept for planned future use (e.g. a vectorized softmax path) rather than deleted. More...
#include <cstddef>#include <immintrin.h>#include <omp.h>#include <sleef.h>Go to the source code of this file.
Namespaces | |
| namespace | Deep |
| This file exists to provide both Tensor.h and IComputeBackend.h with device types without introducing circular dependencies. | |
Functions | |
| static void | Deep::expf_v (float *x, size_t n) |
| In-place vectorized exp: x[i] = exp(x[i]) for all i. | |
| void | Deep::logf_v (float *x, size_t n) |
| In-place vectorized log: x[i] = log(x[i]) for all i. | |
SIMD-vectorized exp/log helpers (AVX512/AVX2/SSE with a scalar tail). Currently unused by the rest of the codebase – kept for planned future use (e.g. a vectorized softmax path) rather than deleted.