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

◆ ensure_gpu_ready()

bool MayaFlux::Yantra::GpuDispatchCore::ensure_gpu_ready ( )

Ensure GPU resources are initialised.

Safe to call repeatedly.

Returns
True if GPU is ready after this call.

Definition at line 30 of file GpuDispatchCore.cpp.

31{
33 return true;
36}
const std::string & dispatch_key() const
The key used for this context's GpuResourceManager unit.
std::vector< GpuBufferBinding > m_bindings
virtual std::vector< GpuBufferBinding > declare_buffer_bindings() const
Declare the storage buffers the shader expects.
bool initialise(const std::string &key, const GpuComputeConfig &config, const std::vector< GpuBufferBinding > &bindings)
Create (or confirm existing) pipeline for the given key.
bool is_ready(const std::string &key) const

References declare_buffer_bindings(), dispatch_key(), MayaFlux::Yantra::GpuResourceManager::initialise(), MayaFlux::Yantra::GpuResourceManager::is_ready(), m_bindings, m_gpu_config, and m_resources.

Referenced by MayaFlux::Yantra::ShaderExecutionContext< InputType, OutputType >::dispatch_async(), dispatch_core_chained_indirect(), dispatch_core_dependency(), and MayaFlux::Yantra::GpuExecutionContext< InputType, OutputType >::execute().

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