MayaFlux 1.0.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 177 of file GpuResourceManager.cpp.

178{
179 auto it = m_units.find(key);
180 if (it == m_units.end()) {
181 error<std::runtime_error>(
184 std::source_location::current(),
185 "GpuResourceManager: no unit for key '{}' — call initialise() first", key);
186 }
187 return *it->second;
188}
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_descriptors_batch(), bind_image_sampled(), bind_image_storage(), bind_images_batch(), bind_shared_descriptor(), dispatch(), dispatch_async(), dispatch_batched(), dispatch_batched_indirect(), download(), ensure_buffer(), record_sequence_commands(), upload(), and upload_raw().

+ Here is the caller graph for this function: