106 const VBool& operator= (
const Bool& rhs );
107 operator Bool()
const;
109 Bool operator|| (
const Bool& rhs )
const;
110 Bool operator&& (
const Bool& rhs )
const;
111 Bool operator!()
const;
113 Bool operator== (
const Bool& rhs )
const;
114 Bool operator!= (
const Bool& rhs )
const;
284 UInt (
unsigned int value );
369 Float (
float value );
538 operator Int()
const;
541 const VInt& operator= (
const Int& rhs );
544 Int operator+= (
const Int& rhs );
547 Int operator-= (
const Int& rhs );
550 Int operator*= (
const Int& rhs );
553 Int operator/= (
const Int& rhs );
556 Int operator%= (
const Int& rhs );
559 Int operator<<= (
const Int& rhs );
562 Int operator>>= (
const Int& rhs );
565 Int operator&= (
const Int& rhs );
568 Int operator|= (
const Int& rhs );
571 Int operator^= (
const Int& rhs );
577 Int operator++ (
int );
583 Int operator-- (
int );
623 operator UInt()
const;
626 const VUInt& operator= (
const UInt& rhs );
629 UInt operator+= (
const UInt& rhs );
632 UInt operator-= (
const UInt& rhs );
635 UInt operator*= (
const UInt& rhs );
638 UInt operator/= (
const UInt& rhs );
641 UInt operator%= (
const UInt& rhs );
644 UInt operator<<= (
const UInt& rhs );
647 UInt operator>>= (
const UInt& rhs );
650 UInt operator&= (
const UInt& rhs );
653 UInt operator|= (
const UInt& rhs );
656 UInt operator^= (
const UInt& rhs );
662 UInt operator++ (
int );
668 UInt operator-- (
int );
910 template<
class ScalarT >
919 ScalarT
Load()
const;
926 void Store (
const ScalarT& value )
const;
936 ScalarT
Exchange (
const ScalarT& value )
const;
948 const ScalarT& newValue,
949 const ScalarT& oldValue )
const;
977 ScalarT
Add (
const ScalarT& value )
const;
985 ScalarT
Sub (
const ScalarT& value )
const;
995 ScalarT
Min (
const ScalarT& value )
const;
1005 ScalarT
Max (
const ScalarT& value )
const;
1015 ScalarT
And (
const ScalarT& value )
const;
1025 ScalarT
Or (
const ScalarT& value )
const;
1035 ScalarT
Xor (
const ScalarT& value )
const;
Double()
Construct a zero r-value.
Int operator%(const Int &rhs) const
Standard remainder operator.
Bool operator>(const UInt &rhs) const
Standard comparison operator (true if greater).
Bool operator>(const Float &rhs) const
Standard comparison operator (true if greater).
Bool operator!=(const Float &rhs) const
Standard comparison operator (true if not equal).
Float operator*(const Float &rhs) const
Standard multiplication operator.
Int()
Construct a zero r-value.
Shader (GPU-side) data type for mutable variables of boolean type.
Definition: vppLangScalarTypes.hpp:100
Int operator-() const
Standard sign reversal operator.
Bool(bool value)
Construct a r-value from specified C++ value.
Bool operator>=(const Int &rhs) const
Standard comparison operator (true if greater or equal).
Bool operator==(const UInt &rhs) const
Standard comparison operator (true if equal).
Shader (GPU-side) data type for mutable variables of 64-bit unsigned integer type.
Definition: vppLangScalarTypes.hpp:739
Shader (GPU-side) data type for 32-bit unsigned integer values.
Definition: vppLangScalarTypes.hpp:271
Shader (GPU-side) data type for workgroup variables of 64-bit unsigned integer type.
Definition: vppLangScalarTypes.hpp:771
UInt operator/(const UInt &rhs) const
Standard division operator.
Bool operator<=(const Int &rhs) const
Standard comparison operator (true if less or equal).
Int operator~() const
Standard bitwise negation operator.
The VPP namespace.
Definition: main.hpp:1
ScalarT Load() const
Reads the target variable.
Bool operator==(const Float &rhs) const
Standard comparison operator (true if equal).
Int operator*(const Int &rhs) const
Standard multiplication operator.
Bool operator<=(const Float &rhs) const
Standard comparison operator (true if less or equal).
UInt operator &(const UInt &rhs) const
Standard bitwise and operator.
Int operator<<(const Int &rhs) const
Standard left shift operator.
UInt operator%(const UInt &rhs) const
Standard remainder operator.
Int operator/(const Int &rhs) const
Standard division operator.
Bool operator||(const Bool &rhs) const
Standard logical or operator.
ScalarT Add(const ScalarT &value) const
Atomically adds specified value to the target variable. Returns previous value.
Bool operator<=(const Double &rhs) const
Standard comparison operator (true if less or equal).
Bool operator!=(const Double &rhs) const
Standard comparison operator (true if not equal).
ScalarT Xor(const ScalarT &value) const
Atomically computes bitwise XOR of specified value and the target variable and stores it to the targe...
Shader (GPU-side) data type for workgroup variables of 32-bit signed integer type.
Definition: vppLangScalarTypes.hpp:701
Bool operator>(const Int &rhs) const
Standard comparison operator (true if greater).
Shader (GPU-side) data type for 64-bit unsigned integer values.
Definition: vppLangScalarTypes.hpp:497
Float operator%(const Float &rhs) const
Standard remainder operator. Result sign is taken from the first operand.
UInt operator-() const
Standard sign reversal operator.
Double operator-() const
Standard sign reversal operator.
void Store(const ScalarT &value) const
Stores specified value to the target variable.
Int operator^(const Int &rhs) const
Standard bitwise xor operator.
Int operator>>(const Int &rhs) const
Standard right shift operator.
Bool operator!=(const UInt &rhs) const
Standard comparison operator (true if not equal).
UInt operator>>(const UInt &rhs) const
Standard right shift operator.
Bool operator>=(const Double &rhs) const
Standard comparison operator (true if greater or equal).
Bool operator!() const
Standard logical not operator.
Float operator+(const Float &rhs) const
Standard addition operator.
UInt operator<<(const UInt &rhs) const
Standard left shift operator.
Bool operator==(const Double &rhs) const
Standard comparison operator (true if equal).
Shader (GPU-side) data type for mutable variables of 32-bit floating point type.
Definition: vppLangScalarTypes.hpp:803
Bool operator!=(const Bool &rhs) const
Standard comparison operator (true if not equal).
Shader (GPU-side) data type for workgroup variables of 64-bit floating point type.
Definition: vppLangScalarTypes.hpp:867
Shader (GPU-side) data type for pointers to workgroup and global scoped variables.
Definition: vppLangScalarTypes.hpp:911
Int operator &(const Int &rhs) const
Standard bitwise and operator.
Shader (GPU-side) data type for workgroup variables of boolean type.
Definition: vppLangScalarTypes.hpp:129
Bool operator &&(const Bool &rhs) const
Standard logical and operator.
Double operator*(const Double &rhs) const
Standard multiplication operator.
Bool operator<=(const UInt &rhs) const
Standard comparison operator (true if less or equal).
Bool operator<(const Int &rhs) const
Standard comparison operator (true if less).
Bool operator<(const Float &rhs) const
Standard comparison operator (true if less).
UInt operator~() const
Standard bitwise negation operator.
UInt operator+(const UInt &rhs) const
Standard addition operator.
Int operator|(const Int &rhs) const
Standard bitwise or operator.
Shader (GPU-side) data type for 32-bit floating point values.
Definition: vppLangScalarTypes.hpp:356
ScalarT Exchange(const ScalarT &value) const
Atomically exchanges specified value with the target variable. Returns previous value.
Bool operator!=(const Int &rhs) const
Standard comparison operator (true if not equal).
Shader (GPU-side) data type for mutable variables of 32-bit unsigned integer type.
Definition: vppLangScalarTypes.hpp:614
ScalarT Increment() const
Atomically increments the target variable.
Shader (GPU-side) data type for mutable variables of 64-bit signed integer type.
Definition: vppLangScalarTypes.hpp:728
Bool operator==(const Int &rhs) const
Standard comparison operator (true if equal).
Int operator+(const Int &rhs) const
Standard addition operator.
Bool operator>(const Double &rhs) const
Standard comparison operator (true if greater).
ScalarT Decrement() const
Atomically decrements the target variable.
Shader (GPU-side) data type for workgroup variables of 32-bit floating point type.
Definition: vppLangScalarTypes.hpp:819
Shader (GPU-side) data type for mutable variables of 32-bit signed integer type.
Definition: vppLangScalarTypes.hpp:529
UInt operator^(const UInt &rhs) const
Standard bitwise xor operator.
Float operator/(const Float &rhs) const
Standard division operator.
Bool operator==(const Bool &rhs) const
Standard comparison operator (true if equal).
Shader (GPU-side) void data type.
Definition: vppLangScalarTypes.hpp:143
Bool operator>=(const Float &rhs) const
Standard comparison operator (true if greater or equal).
Shader (GPU-side) data type for 32-bit signed integer values.
Definition: vppLangScalarTypes.hpp:162
Shader (GPU-side) data type for 64-bit floating point values.
Definition: vppLangScalarTypes.hpp:423
UInt operator*(const UInt &rhs) const
Standard multiplication operator.
ScalarT Or(const ScalarT &value) const
Atomically computes bitwise OR of specified value and the target variable and stores it to the target...
Float()
Construct a zero r-value.
Bool operator<(const UInt &rhs) const
Standard comparison operator (true if less).
ScalarT CompareExchange(const ScalarT &newValue, const ScalarT &oldValue) const
Atomically exchanges specified value with the target variable, but only if current value is equal to ...
Shader (GPU-side) data type for workgroup variables of 32-bit unsigned integer type.
Definition: vppLangScalarTypes.hpp:717
UInt()
Construct a zero r-value.
ScalarT And(const ScalarT &value) const
Atomically computes bitwise AND of specified value and the target variable and stores it to the targe...
ScalarT Max(const ScalarT &value) const
Atomically computes maximum of specified value and the target variable and stores it to the target va...
Bool operator<(const Double &rhs) const
Standard comparison operator (true if less).
Double operator+(const Double &rhs) const
Standard addition operator.
Shader (GPU-side) data type for workgroup variables of 64-bit unsigned integer type.
Definition: vppLangScalarTypes.hpp:755
Shader (GPU-side) data type for boolean values.
Definition: vppLangScalarTypes.hpp:45
UInt operator|(const UInt &rhs) const
Standard bitwise or operator.
Double operator%(const Double &rhs) const
Standard remainder operator. Result sign is taken from the first operand.
ScalarT Sub(const ScalarT &value) const
Atomically subtracts specified value from the target variable. Returns previous value.
Float operator-() const
Standard sign reversal operator.
Shader (GPU-side) data type for mutable variables of 64-bit floating point type.
Definition: vppLangScalarTypes.hpp:851
Bool operator>=(const UInt &rhs) const
Standard comparison operator (true if greater or equal).
Shader (GPU-side) data type for 64-bit signed integer values.
Definition: vppLangScalarTypes.hpp:484
Double operator/(const Double &rhs) const
Standard division operator.
ScalarT Min(const ScalarT &value) const
Atomically computes minimum of specified value and the target variable and stores it to the target va...