#include <Config.h>
|
| std::string | id () override |
| | Returns ID of the backend.
|
| |
| bool | initialize () override |
| | Initialize the backend. This is called as soon as the backend is loaded.
|
| |
| bool | supportPermutation () override |
| |
| bool | supportDynamicTensor () override |
| |
| bool | supportFP16 () override |
| |
| std::unique_ptr< util::ITimer > | timer () override |
| | Returns Timer object for this backend. For some computing units, it may need its own Timer implementation.
|
| |
| virtual | ~IConfig ()=default |
| |
| virtual void | sync () const |
| | The function that is called after each Operation run on profiling mode. This may be useful for profiling GPU-based or special computing units.
|
| |
Definition at line 27 of file Config.h.
◆ id()
| std::string onert::backend::ruy::Config::id |
( |
| ) |
|
|
inlineoverridevirtual |
◆ initialize()
| bool onert::backend::ruy::Config::initialize |
( |
| ) |
|
|
overridevirtual |
Initialize the backend. This is called as soon as the backend is loaded.
- Returns
- true Initialization succeeded
-
false Initialization failed, so it cannot use this backend
Implements onert::backend::IConfig.
Definition at line 22 of file Config.cc.
◆ supportDynamicTensor()
| bool onert::backend::ruy::Config::supportDynamicTensor |
( |
| ) |
|
|
inlineoverridevirtual |
◆ supportFP16()
| bool onert::backend::ruy::Config::supportFP16 |
( |
| ) |
|
|
inlineoverridevirtual |
◆ supportPermutation()
| bool onert::backend::ruy::Config::supportPermutation |
( |
| ) |
|
|
inlineoverridevirtual |
◆ timer()
| std::unique_ptr< util::ITimer > onert::backend::ruy::Config::timer |
( |
| ) |
|
|
inlineoverridevirtual |
Returns Timer object for this backend. For some computing units, it may need its own Timer implementation.
- Returns
- std::unique_ptr<util::ITimer> Timer object for this backend
Reimplemented from onert::backend::IConfig.
Definition at line 36 of file Config.h.
36{ return std::make_unique<util::CPUTimer>(); }
The documentation for this class was generated from the following files: