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

◆ buffer_allocated_bytes()

size_t MayaFlux::Yantra::GpuResourceManager::buffer_allocated_bytes ( const std::string &  key,
size_t  index 
) const

Definition at line 350 of file GpuResourceManager.cpp.

351{
352 return find_unit(key)->buffer_slots[index].allocated_bytes;
353}
const PipelineUnit * find_unit(const std::string &key) const

References MayaFlux::Yantra::GpuResourceManager::PipelineUnit::buffer_slots, and find_unit().

Referenced by MayaFlux::Yantra::GpuExecutionContext< InputType, OutputType >::collect_gpu_outputs(), and MayaFlux::Yantra::GpuDispatchCore::readback_primary().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: