Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
simd_buffer.hpp File Reference
#include <cstddef>
#include <cstdlib>
#include <cstring>
#include <memory>
#include <algorithm>

Go to the source code of this file.

Classes

class  pulp::signal::AlignedBufferT< SampleType >
 RAII aligned buffer with SIMD-friendly access. More...

Namespaces

namespace  pulp
namespace  pulp::signal

Typedefs

using pulp::signal::AlignedBuffer = AlignedBufferT<float>
using pulp::signal::AlignedBuffer64 = AlignedBufferT<double>

Functions

void * pulp_aligned_alloc (size_t alignment, size_t size)
void pulp_aligned_free (void *p)

Variables

static constexpr size_t pulp::signal::kSimdAlignment = 64
 Alignment in bytes for SIMD operations (covers AVX-512).

Function Documentation

◆ pulp_aligned_alloc()

void * pulp_aligned_alloc ( size_t alignment,
size_t size )
inline

◆ pulp_aligned_free()

void pulp_aligned_free ( void * p)
inline