MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ upload_chunk()

template<ComputeData InputType = std::vector<Kakshya::DataVariant>, ComputeData OutputType = Eigen::MatrixXd>
void MayaFlux::Yantra::WaveformAnalyzer< InputType, OutputType >::upload_chunk ( std::span< const double > chunk) const
inlineprivate

Definition at line 531 of file WaveformAnalyzer.hpp.

532 {
533 const auto words = OperationHelper::encode_word_pairs(chunk, 0, false, false);
535 m_energy->upload_shared_raw(0, k_values_binding, words.data(), words.size());
536 }
static std::vector< uint8_t > encode_word_pairs(std::span< const double > values, size_t padded_words=0, bool order_key=false, bool complement=false)
Encode doubles as little-endian 64-bit words, two 32-bit lanes each.
static constexpr uint32_t k_values_binding
std::unique_ptr< SegmentedReductionContext > m_energy
Time-domain descriptors of every channel, run on the GPU.

Referenced by MayaFlux::Yantra::WaveformAnalyzer< std::vector< Kakshya::DataVariant >, Eigen::MatrixXd >::measure_chunk().

Here is the caller graph for this function: