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

◆ windowed_kernel_layout()

std::vector< GpuBufferBinding > MayaFlux::Yantra::windowed_kernel_layout ( const WindowedKernelShape & shape = {})
inlinenodiscard

The binding layout of a windowed kernel.

Definition at line 111 of file WindowedKernelAnalyzer.hpp.

111 {})
112{
113 std::vector<GpuBufferBinding> layout;
114 for (uint32_t binding = 0; binding < shape.inputs; ++binding) {
115 layout.push_back({ .set = 0, .binding = binding, .direction = GpuBufferBinding::Direction::INPUT, .element_type = GpuBufferBinding::ElementType::FLOAT32 });
116 }
117 layout.push_back({ .set = 0, .binding = shape.parameters_binding(), .direction = GpuBufferBinding::Direction::INPUT, .element_type = GpuBufferBinding::ElementType::FLOAT32 });
118 layout.push_back({ .set = 0, .binding = shape.results_binding(), .direction = GpuBufferBinding::Direction::OUTPUT, .element_type = GpuBufferBinding::ElementType::FLOAT32 });
119 return layout;
120}
enum MayaFlux::Portal::Graphics::GpuBufferBinding::Direction INPUT
enum MayaFlux::Portal::Graphics::GpuBufferBinding::ElementType FLOAT32

Referenced by MayaFlux::Yantra::WindowedKernelAnalyzer< std::vector< Kakshya::DataVariant >, Eigen::MatrixXd >::context(), and MayaFlux::Yantra::WaveformAnalyzer< std::vector< Kakshya::DataVariant >, Eigen::MatrixXd >::ensure_native().

Here is the caller graph for this function: