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

◆ GpuAnalyzer()

template<ComputeData InputType = std::vector<Kakshya::DataVariant>, ComputeData OutputType = InputType>
MayaFlux::Yantra::GpuAnalyzer< InputType, OutputType >::GpuAnalyzer ( 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 GpuAnalyzer.hpp.

29 {
30 assert(executor && "GpuAnalyzer: 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