90 const VBool& operator= (
const Bool& rhs );
91 operator Bool()
const;
93 Bool operator|| (
const Bool& rhs )
const;
94 Bool operator&& (
const Bool& rhs )
const;
95 Bool operator!()
const;
97 Bool operator== (
const Bool& rhs )
const;
98 Bool operator!= (
const Bool& rhs )
const;
258 UInt (
unsigned int value );
339 Float (
float value );
462 operator Int()
const;
465 const VInt& operator= (
const Int& rhs );
468 Int operator+= (
const Int& rhs );
471 Int operator-= (
const Int& rhs );
474 Int operator*= (
const Int& rhs );
477 Int operator/= (
const Int& rhs );
480 Int operator%= (
const Int& rhs );
483 Int operator<<= (
const Int& rhs );
486 Int operator>>= (
const Int& rhs );
489 Int operator&= (
const Int& rhs );
492 Int operator|= (
const Int& rhs );
495 Int operator^= (
const Int& rhs );
501 Int operator++ (
int );
507 Int operator-- (
int );
531 operator UInt()
const;
534 const VUInt& operator= (
const UInt& rhs );
537 UInt operator+= (
const UInt& rhs );
540 UInt operator-= (
const UInt& rhs );
543 UInt operator*= (
const UInt& rhs );
546 UInt operator/= (
const UInt& rhs );
549 UInt operator%= (
const UInt& rhs );
552 UInt operator<<= (
const UInt& rhs );
555 UInt operator>>= (
const UInt& rhs );
558 UInt operator&= (
const UInt& rhs );
561 UInt operator|= (
const UInt& rhs );
564 UInt operator^= (
const UInt& rhs );
570 UInt operator++ (
int );
576 UInt operator-- (
int );
641 template<
class ScalarT >
648 ScalarT
Load()
const;
653 void Store (
const ScalarT& value )
const;
659 ScalarT
Exchange (
const ScalarT& value )
const;
667 const ScalarT& newValue,
668 const ScalarT& oldValue )
const;
676 const ScalarT& newValue,
677 const ScalarT& oldValue )
const;
693 ScalarT
Add (
const ScalarT& value )
const;
699 ScalarT
Sub (
const ScalarT& value )
const;
705 ScalarT
Min (
const ScalarT& value )
const;
711 ScalarT
Max (
const ScalarT& value )
const;
717 ScalarT
And (
const ScalarT& value )
const;
723 ScalarT
Or (
const ScalarT& value )
const;
729 ScalarT
Xor (
const ScalarT& value )
const;
Int operator%(const Int &rhs) const
Standard remainder operator. Result sign is taken from the first operand.
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.
Shader (GPU-side) data type for mutable variables of boolean type.
Definition: vppLangScalarTypes.hpp:84
Int operator-() const
Standard sign reversal operator.
UInt(unsigned int value)
Construct a r-value from specified C++ value.
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 32-bit unsigned integer values.
Definition: vppLangScalarTypes.hpp:249
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...
Bool operator>(const Int &rhs) const
Standard comparison operator (true if greater).
Float operator%(const Float &rhs) const
Standard remainder operator. Result sign is taken from the first operand.
Double(double value)
Construct a r-value from specified C++ value.
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:591
Bool operator!=(const Bool &rhs) const
Standard comparison operator (true if not equal).
Shader (GPU-side) data type for pointers to mutable variables.
Definition: vppLangScalarTypes.hpp:642
Int(int value)
Construct a r-value from specified C++ value.
Int operator &(const Int &rhs) const
Standard bitwise and operator.
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:330
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:522
ScalarT Increment() const
Atomically increments the target variable.
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 mutable variables of 32-bit signed integer type.
Definition: vppLangScalarTypes.hpp:453
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:111
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:167
Shader (GPU-side) data type for 64-bit floating point values.
Definition: vppLangScalarTypes.hpp:393
UInt operator*(const UInt &rhs) const
Standard multiplication operator.
ScalarT CompareExchangeWeak(const ScalarT &newValue, const ScalarT &oldValue) const
Atomically exchanges specified value with the target variable, but only if current value is equal to ...
ScalarT Or(const ScalarT &value) const
Atomically computes bitwise OR of specified value and the target variable and stores it to the target...
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 ...
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 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(float value)
Construct a r-value from specified C++ 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:607
Bool operator>=(const UInt &rhs) const
Standard comparison operator (true if greater or equal).
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...