Go to the source code of this file.
|
enum | VarAccessModeAttribute : unsigned int {
VarAccessModeAttribute::READ_ONLY = (1 << 0),
VarAccessModeAttribute::READ_WRITE = (1 << 1),
VarAccessModeAttribute::REDUCE = (1 << 2),
VarAccessModeAttribute::SUM = (1 << 3),
VarAccessModeAttribute::MAX = (1 << 4)
} |
|
enum | VarAccessMode : unsigned int { VarAccessMode::READ_WRITE = static_cast<unsigned int>(VarAccessModeAttribute::READ_WRITE),
VarAccessMode::READ_ONLY = static_cast<unsigned int>(VarAccessModeAttribute::READ_ONLY),
VarAccessMode::REDUCE_SUM = static_cast<unsigned int>(VarAccessModeAttribute::REDUCE) | static_cast<unsigned int>(VarAccessModeAttribute::SUM),
VarAccessMode::REDUCE_MAX = static_cast<unsigned int>(VarAccessModeAttribute::REDUCE) | static_cast<unsigned int>(VarAccessModeAttribute::MAX)
} |
| Supported combination of VarAccessModeAttribute. More...
|
|
enum | VarAccessDuplication : unsigned int { VarAccessDuplication::DUPLICATE = (1 << 5),
VarAccessDuplication::SHARED = (1 << 6),
VarAccessDuplication::SHARED_NEURON = (1 << 7)
} |
| Flags defining how variables should be duplicated across multiple batches. More...
|
|
enum | VarAccess : unsigned int {
VarAccess::READ_WRITE = static_cast<unsigned int>(VarAccessMode::READ_WRITE) | static_cast<unsigned int>(VarAccessDuplication::DUPLICATE),
VarAccess::READ_ONLY = static_cast<unsigned int>(VarAccessMode::READ_ONLY) | static_cast<unsigned int>(VarAccessDuplication::SHARED),
VarAccess::READ_ONLY_SHARED_NEURON = static_cast<unsigned int>(VarAccessMode::READ_ONLY) | static_cast<unsigned int>(VarAccessDuplication::SHARED_NEURON),
VarAccess::READ_ONLY_DUPLICATE = static_cast<unsigned int>(VarAccessMode::READ_ONLY) | static_cast<unsigned int>(VarAccessDuplication::DUPLICATE),
VarAccess::REDUCE_BATCH_SUM = static_cast<unsigned int>(VarAccessMode::REDUCE_SUM) | static_cast<unsigned int>(VarAccessDuplication::SHARED),
VarAccess::REDUCE_BATCH_MAX = static_cast<unsigned int>(VarAccessMode::REDUCE_MAX) | static_cast<unsigned int>(VarAccessDuplication::SHARED),
VarAccess::REDUCE_NEURON_SUM = static_cast<unsigned int>(VarAccessMode::REDUCE_SUM) | static_cast<unsigned int>(VarAccessDuplication::SHARED_NEURON),
VarAccess::REDUCE_NEURON_MAX = static_cast<unsigned int>(VarAccessMode::REDUCE_MAX) | static_cast<unsigned int>(VarAccessDuplication::SHARED_NEURON)
} |
| Supported combinations of VarAccessMode and VarAccessDuplication. More...
|
|
◆ VarAccess
Supported combinations of VarAccessMode and VarAccessDuplication.
Enumerator |
---|
READ_WRITE | |
READ_ONLY | |
READ_ONLY_SHARED_NEURON | |
READ_ONLY_DUPLICATE | |
REDUCE_BATCH_SUM | |
REDUCE_BATCH_MAX | |
REDUCE_NEURON_SUM | |
REDUCE_NEURON_MAX | |
◆ VarAccessDuplication
Flags defining how variables should be duplicated across multiple batches.
Enumerator |
---|
DUPLICATE | |
SHARED | This variable should be duplicated in each batch.
|
SHARED_NEURON | This variable should be shared between batches.
|
◆ VarAccessMode
Supported combination of VarAccessModeAttribute.
Enumerator |
---|
READ_WRITE | |
READ_ONLY | |
REDUCE_SUM | |
REDUCE_MAX | |
◆ VarAccessModeAttribute
Flags defining attributes of var access models NOTE Read-only and read-write are seperate flags rather than read and write so you can test mode & VarAccessMode::READ_ONLY
Enumerator |
---|
READ_ONLY | |
READ_WRITE | This variable is read only.
|
REDUCE | This variable is read-write.
|
SUM | This variable is a reduction target.
|
MAX | This variable's reduction operation is a summation.
|
◆ getVarAccessDuplication()
◆ getVarAccessMode()
◆ operator&() [1/4]
◆ operator&() [2/4]
◆ operator&() [3/4]
◆ operator&() [4/4]