MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
LaggedPair.hpp File Reference

Lagged pairwise sums of doubles on the GPU, exactly, with no fp64 on the device. More...

Include dependency graph for LaggedPair.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  MayaFlux
 Main namespace for the Maya Flux audio engine.
namespace  MayaFlux::Yantra

Functions

Portal::Graphics::ShaderSpec MayaFlux::Yantra::lagged_pair_spec (Portal::Graphics::PairMap map, bool centred, uint32_t workgroup=256)
 The spec of a LaggedPair kernel.
DependencyStage MayaFlux::Yantra::lagged_pair_stage (WordPairExecutionContext &context, const GpuComputeConfig &config, const SegmentGeometry &geometry, uint32_t first_lag, uint32_t lag_count)
 The stage that sums every window at every lag in a range, over values already on the device.
DependencyStage MayaFlux::Yantra::lagged_pair_stage (WordPairExecutionContext &context, const GpuComputeConfig &config, std::span< const double > values, const SegmentGeometry &geometry, uint32_t first_lag, uint32_t lag_count)
 The stage that sums every window at every lag in a range.

Detailed Description

Lagged pairwise sums of doubles on the GPU, exactly, with no fp64 on the device.

The LaggedPair kernel is run on a plain WordPairExecutionContext. This file holds what is specific to it: the spec and the stage.

Definition in file LaggedPair.hpp.