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

◆ extract_resident()

template<ComputeData InputType = Eigen::MatrixXd, ComputeData OutputType = std::vector<std::vector<double>>>
IntervalExtraction MayaFlux::Yantra::IntervalExtractor< InputType, OutputType >::extract_resident ( std::span< const uint32_t > counts)
inline

Extraction over scores already on the device, waiting for the result.

Parameters
countsNumber of scores in each bound channel for this call.
Returns
The intervals completed by this call.

Definition at line 400 of file IntervalExtractor.hpp.

401 {
402 if (m_outstanding) {
404 std::source_location::current(), "An earlier submit has not been collected");
405 }
406 const auto& cfg = this->template config<IntervalExtractorConfig>();
407 const auto calls = record_resident(counts, cfg);
408
410 record.config = cfg;
411 record.channels.resize(counts.size());
412 for (size_t channel = 0; channel < counts.size(); ++channel) {
414 }
415 return record;
416 }
std::vector< ChannelCall > record_resident(std::span< const uint32_t > counts, const IntervalExtractorConfig &cfg)
ChannelIntervals read_channel(size_t channel, const ChannelCall &call) const
std::optional< Outstanding > m_outstanding
Finds where each score sequence is engaged, on the GPU, as a stream.