53 return (static_cast<unsigned int>(type) & static_cast<unsigned int>(mode)) != 0;
58 return (static_cast<unsigned int>(type) & static_cast<unsigned int>(duplication)) != 0;
63 return (static_cast<unsigned int>(type) & static_cast<unsigned int>(modeAttribute)) != 0;
68 return (static_cast<unsigned int>(mode) & static_cast<unsigned int>(modeAttribute)) != 0;
76 return static_cast<VarAccessMode>(
static_cast<unsigned int>(type) & 0x1F);
bool operator&(VarAccess type, VarAccessMode mode)
Definition: varAccess.h:51
VarAccessMode
Supported combination of VarAccessModeAttribute.
Definition: varAccess.h:19
This variable is read only.
VarAccessModeAttribute
Definition: varAccess.h:9
VarAccess
Supported combinations of VarAccessMode and VarAccessDuplication.
Definition: varAccess.h:36
VarAccessMode getVarAccessMode(VarAccess type)
Definition: varAccess.h:74
This variable should be shared between batches.
This variable's reduction operation is a summation.
This variable is a reduction target.
VarAccessDuplication
Flags defining how variables should be duplicated across multiple batches.
Definition: varAccess.h:28
VarAccessDuplication getVarAccessDuplication(VarAccess type)
Definition: varAccess.h:79
This variable is read-write.
This variable should be duplicated in each batch.