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

◆ download_binding()

void MayaFlux::Yantra::GpuDispatchCore::download_binding ( size_t  index,
void *  dest,
size_t  byte_size 
)

Read back a specific binding into a caller-provided destination.

Parameters
indexBinding index to read back.
destPointer to caller-allocated memory for the data.
byte_sizeSize in bytes to read back (must not exceed allocated size).

Definition at line 464 of file GpuDispatchCore.cpp.

465{
466 m_resources.download(dispatch_key(), index, reinterpret_cast<float*>(dest), byte_size);
467}
uint32_t index
Definition VKDevice.cpp:142
const std::string & dispatch_key() const
The key used for this context's GpuResourceManager unit.
void download(const std::string &key, size_t index, float *dest, size_t byte_size)

References dispatch_key(), MayaFlux::Yantra::GpuResourceManager::download(), index, and m_resources.

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

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