operatorOP
range operatorOP(const sycl::range& lhs, const sycl::range& rhs);
Where OP is: +, -, *, /, %, <<,
>>, &, |,``^``, &&, ||, <, >,
<=, >=.
Constructs and returns a new instance of the sycl::range class
template with the same dimensionality as lhs range, where each
element of the new sycl::range instance is the result of an
element-wise OP operator between each element of lhs range
and each element of rhs range. If the element-wise operator
returns a bool, the element result is the cast to size_t.
range operatorOP(const sycl::range& lhs, const size_t& rhs);
Where OP is: +, -, *, /, %, <<,
>>, &, |, ^, &&, ||, <, >,
<=, >=.
Constructs and returns a new instance of the sycl::range class
template with the same dimensionality as lhs range, where each
element of the new sycl::range instance is the result of an
element-wise OP operator between each element of lhs range
and rhs size_t. If the element-wise operator returns a bool,
the element result is the cast to size_t.
sycl::range& operatorOP(sycl::range& lhs, const sycl::range& rhs);
Where OP is: +=, -=, *=, /=, %=,
<<=, >>=, &=, |=, ^=.
Assigns each element of lhs range instance with the result of an
element-wise OP operator between each element of lhs range and
each element of rhs range and returns lhs.
If the element-wise operator returns a bool, the element result
is the cast to size_t.
sycl::range& operatorOP(sycl::range& lhs, const size_t& rhs);
Where OP is: +=, -=, *=, /=, %=,
<<=, >>=, &=, |=, ^=.
Assigns each element of lhs instance with the result of an
element-wise OP operator between each element of lhs range
and rhs size_t and returns lhs. If the element-wise operator
returns a bool, the element result is the cast to size_t.
range operatorOP(const size_t& lhs, const sycl::range& rhs);
Where OP is: +, -, *, /, %, <<,
>>, &, |, ^, &&, ||, <, >,
<=, >=.
Constructs and returns a new instance of the sycl::range
class template with the same dimensionality as the rhs range,
where each element of the new sycl::range instance is the result
of an element-wise OP operator between the lhs size_t
and each element of the rhs range. If the element-wise operator
returns a bool, the element result is the cast to size_t.
range operatorOP(const sycl::range& rhs);
Where OP is: unary +, unary -.
Constructs and returns a new instance of the sycl::range class
template with the same dimensionality as the rhs range,
where each element of the new sycl::range instance is the result
of an element-wise OP operator on the rhs
range.
sycl::range& operatorOP(sycl::range& rhs);
Where OP is: prefix ++, prefix --.
Assigns each element of the rhs range instance with the result of an
element-wise OP operator on each element of the rhs range
and returns rhs.
range operatorOP(sycl::range& lhs, int);
Where OP is: postfix ++, postfix --.
Make a copy of the lhs range. Assigns each element of the lhs range
instance with the result of an element-wise OP operator on each element
of the lhs range. Then return the initial copy of the sycl::range.