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

◆ unit_for()

GpuResourceManager::PipelineUnit & MayaFlux::Yantra::GpuResourceManager::unit_for ( const std::string &  key)
private

Definition at line 141 of file GpuResourceManager.cpp.

142{
143 auto it = m_units.find(key);
144 if (it == m_units.end()) {
145 error<std::runtime_error>(
148 std::source_location::current(),
149 "GpuResourceManager: no unit for key '{}' — call initialise() first", key);
150 }
151 return *it->second;
152}
std::unordered_map< std::string, std::unique_ptr< PipelineUnit > > m_units
@ BufferProcessing
Buffer processing (Buffers::BufferManager, processing chains)
@ Yantra
DSP algorithms, computational units, matrix operations, Grammar.

References MayaFlux::Journal::BufferProcessing, m_units, and MayaFlux::Journal::Yantra.

Referenced by bind_descriptor(), bind_image_sampled(), bind_image_storage(), bind_shared_descriptor(), dispatch(), dispatch_async(), dispatch_batched(), dispatch_batched_indirect(), dispatch_sequence(), download(), ensure_buffer(), upload(), and upload_raw().

+ Here is the caller graph for this function: