Compute Library
 21.05
BackendRegistrar< T > Class Template Referencefinal

Helper class to statically register a backend. More...

#include <BackendRegistrar.h>

Public Member Functions

 BackendRegistrar (Target target)
 Add a new backend to the backend registry. More...
 

Detailed Description

template<typename T>
class arm_compute::graph::backends::detail::BackendRegistrar< T >

Helper class to statically register a backend.

Definition at line 42 of file BackendRegistrar.h.

Constructor & Destructor Documentation

◆ BackendRegistrar()

BackendRegistrar ( Target  target)
inline

Add a new backend to the backend registry.

Parameters
[in]targetExecution target

Definition at line 53 of file BackendRegistrar.h.

54 {
55  BackendRegistry::get().add_backend<T>(target);
56 }
void add_backend(Target target)
Registers a backend to the registry.
static BackendRegistry & get()
Gets backend registry instance.

References BackendRegistry::add_backend(), and BackendRegistry::get().


The documentation for this class was generated from the following file: