Compute Library
Queue::Options Struct Reference

< Queue options More...

#include <Acl.hpp>

Collaboration diagram for Queue::Options:

Public Member Functions

 Options ()
 Default Constructor. More...
 Options (TuningMode mode, int32_t compute_units)
 Constructor. More...

Data Fields

AclQueueOptions opts

Detailed Description

< Queue options

Definition at line 420 of file Acl.hpp.

Constructor & Destructor Documentation

◆ Options() [1/2]

Options ( )

Default Constructor.

As default options, no tuning will be performed, and the number of scheduling units will depends on internal device discovery functionality

Definition at line 427 of file Acl.hpp.

References AclTuningModeNone.

428  : opts{ AclTuningModeNone, 0 } {};
No tuning.
Definition: AclTypes.h:148
AclQueueOptions opts
Definition: Acl.hpp:439

◆ Options() [2/2]

Options ( TuningMode  mode,
int32_t  compute_units 


[in]modeTuning mode to be used
[in]compute_unitsNumber of scheduling units to be used

Definition at line 434 of file Acl.hpp.

References clang_tidy_rules::mode.

435  : opts{ detail::as_cenum<AclTuningMode>(mode), compute_units }
436  {
437  }
AclQueueOptions opts
Definition: Acl.hpp:439

Field Documentation

◆ opts

Definition at line 439 of file Acl.hpp.

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