|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
|
inline |
Allocate a shared buffer on a context and fill it with packed weights.
| context | The context whose shared buffer holds the weights. |
| set | Descriptor set of the buffer. |
| binding | Binding of the buffer. |
| packed | The weights. The buffer is device local, so it is read by the kernels and not from the host. |
Definition at line 135 of file Yantra/Executors/TensorKernels/Weights.hpp.
References MayaFlux::Portal::Graphics::COMPUTE, MayaFlux::Yantra::GpuDispatchCore::ensure_shared_buffer(), MayaFlux::Portal::Graphics::GpuBufferBinding::FLOAT32, MayaFlux::Yantra::GpuDispatchCore::upload_shared_raw(), and MayaFlux::Yantra::TensorKernels::PackedWeights::values.