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

◆ largest_binding_data_element_count()

size_t MayaFlux::Yantra::GpuDispatchCore::largest_binding_data_element_count ( ) const
protected

Definition at line 558 of file GpuDispatchCore.cpp.

559{
560 size_t max_bytes = 0;
561 for (const auto& b : m_bindings) {
562 if (b.direction == GpuBufferBinding::Direction::OUTPUT)
563 continue;
564 const size_t idx = b.binding;
565 if (idx < m_binding_data.size() && !m_binding_data[idx].empty())
566 max_bytes = std::max(max_bytes, m_binding_data[idx].size());
567 }
568 return max_bytes / sizeof(float);
569}
size_t b
std::vector< std::vector< uint8_t > > m_binding_data
std::vector< GpuBufferBinding > m_bindings

References b, m_binding_data, m_bindings, and MayaFlux::Portal::Graphics::GpuBufferBinding::OUTPUT.

Referenced by dispatch_core(), dispatch_core_async(), dispatch_core_chained(), dispatch_core_chained_indirect(), and dispatch_core_dependency().

+ Here is the caller graph for this function: