|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
|
inlinenodiscard |
The stage that sums every window at every lag in a range, over values already on the device.
The values are whatever binding 0 resolves to: a shared buffer of the context, or one imported from another context with import_shared. Nothing is staged from the host. Many passes over one input then share a single upload.
| context | Context built with config. |
| config | Config of the spec the context was built from. |
| geometry | Window length, stride, first offset and count. Every window must lie inside the values. |
| first_lag | Shortest lag. |
| lag_count | Number of consecutive lags. |
Definition at line 68 of file LaggedPair.hpp.
References MayaFlux::Yantra::SegmentGeometry::count, MayaFlux::Yantra::SegmentGeometry::length, MayaFlux::Yantra::SegmentGeometry::offset, MayaFlux::Yantra::GpuDispatchCore::set_output_size(), MayaFlux::Yantra::GpuDispatchCore::set_push_constants(), MayaFlux::Yantra::GpuDispatchCore::shared_buffer_info(), and MayaFlux::Yantra::SegmentGeometry::stride.
Referenced by lagged_pair_stage(), and MayaFlux::Yantra::WaveformAnalyzer< std::vector< Kakshya::DataVariant >, Eigen::MatrixXd >::record_lagged().