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

◆ GpuExtractor()

template<ComputeData InputType = std::vector<Kakshya::DataVariant>, ComputeData OutputType = InputType>
MayaFlux::Yantra::GpuExtractor< InputType, OutputType >::GpuExtractor ( std::shared_ptr< GpuExecutionContext< InputType, OutputType > >  executor)
inlineexplicit

Construct with a configured GpuExecutionContext.

Parameters
executorConfigured executor. Must not be null.

Definition at line 27 of file GpuExtractor.hpp.

29 {
30 assert(executor && "GpuExtractor: executor must not be null");
31 m_executor = executor;
32 this->set_gpu_backend(std::move(executor));
33 }
void set_gpu_backend(std::shared_ptr< GpuExecutionContext< InputType, OutputType > > backend)
Attach a GPU execution backend.
std::shared_ptr< GpuExecutionContext< InputType, OutputType > > m_executor