< Context options
More...
#include <Acl.hpp>
< Context options
Definition at line 321 of file Acl.hpp.
◆ Options() [1/2]
Default Constructor.
- Note
- By default no precision loss is enabled for operators
-
By default the preferred execution mode is to favor multiple consecutive reruns of an operator
Definition at line 330 of file Acl.hpp.
Automatic discovery of capabilities.
Prefer minimum latency in consecutive runs, might introduce higher startup times. ...
static constexpr int32_t num_threads_auto
Allow runtime to specify number of threads.
Options()
Default Constructor.
◆ Options() [2/2]
Constructor.
- Parameters
-
[in] | mode | Execution mode to be used |
[in] | caps | Capabilities to be used |
[in] | enable_fast_math | Allow precision loss in favor of performance |
[in] | kernel_config | Kernel configuration file containing construction tuning meta-data |
[in] | max_compute_units | Max compute units that are expected to used |
[in] | allocator | Allocator to be used for internal memory allocation |
Definition at line 348 of file Acl.hpp.
References arm_compute::test::validation::allocator(), and clang_tidy_rules::mode.
const char * kernel_config_file
Kernel cofiguration file.
int32_t max_compute_units
Max compute units that can be used by a queue created from the context.
AclExecutionMode mode
Execution mode to use.
AclTargetCapabilities capabilities
Target capabilities.
input allocator() -> allocate()
bool enable_fast_math
Allow precision loss.
AclAllocator * allocator
Allocator to be used by all the memory internally.
◆ copts
◆ num_threads_auto
constexpr int32_t num_threads_auto = -1 |
|
static |
Allow runtime to specify number of threads.
Definition at line 323 of file Acl.hpp.
The documentation for this struct was generated from the following file: