Go to the source code of this file.
◆ __SYCL_GEN_OPT [1/6]
#define __SYCL_GEN_OPT |
( |
|
op | ) |
|
Value: template <typename T> \
EnableIfIntegral<T, bool> operator op(const T &rhs) const { \
if (this->common_array[0] != rhs) \
return false op true; \
return true op true; \
} \
template <typename T> \
friend EnableIfIntegral<T, bool> operator op(const T &lhs, \
const id<Dimensions> &rhs) { \
if (lhs != rhs.common_array[0]) \
return false op true; \
return true op true; \
}
Definition at line 287 of file id.hpp.
◆ __SYCL_GEN_OPT [2/6]
#define __SYCL_GEN_OPT |
( |
|
op | ) |
|
Value:
template <typename T> \
friend EnableIfIntegral<T, id<Dimensions>> operator op( \
const id<Dimensions> &lhs, const T &rhs) { \
id<Dimensions> result; \
result.common_array[i] = lhs.common_array[i] op rhs; \
} \
return result; \
} \
template <typename T> \
friend EnableIfIntegral<T, id<Dimensions>> operator op( \
const T &lhs, const id<Dimensions> &rhs) { \
id<Dimensions> result; \
result.common_array[i] = lhs op rhs.common_array[i]; \
} \
return result; \
}
#define __SYCL_GEN_OPT_BASE(op)
class __SYCL_EBO __SYCL_SPECIAL_CLASS Dimensions
Definition at line 287 of file id.hpp.
◆ __SYCL_GEN_OPT [3/6]
#define __SYCL_GEN_OPT |
( |
|
op | ) |
|
Value: friend id<Dimensions> &operator op(id<Dimensions> &lhs, \
const id<Dimensions> &rhs) { \
lhs.common_array[i] op rhs.common_array[i]; \
} \
return lhs; \
} \
friend id<Dimensions> &operator op(id<Dimensions> &lhs, const size_t &rhs) { \
lhs.common_array[i] op rhs; \
} \
return lhs; \
}
Definition at line 287 of file id.hpp.
◆ __SYCL_GEN_OPT [4/6]
#define __SYCL_GEN_OPT |
( |
|
op | ) |
|
Value: friend id<Dimensions> operator op(const id<Dimensions> &rhs) { \
id<Dimensions> result; \
result.common_array[i] = (op rhs.common_array[i]); \
} \
return result; \
}
Definition at line 287 of file id.hpp.
◆ __SYCL_GEN_OPT [5/6]
#define __SYCL_GEN_OPT |
( |
|
op | ) |
|
Value: friend id<Dimensions> &operator op(id<Dimensions> &rhs) { \
op rhs.common_array[i]; \
} \
return rhs; \
}
Definition at line 287 of file id.hpp.
◆ __SYCL_GEN_OPT [6/6]
#define __SYCL_GEN_OPT |
( |
|
op | ) |
|
Value: friend id<Dimensions> operator op(id<Dimensions> &lhs, int) { \
id<Dimensions> old_lhs; \
old_lhs.common_array[i] = lhs.common_array[i]; \
op lhs.common_array[i]; \
} \
return old_lhs; \
}
Definition at line 287 of file id.hpp.
◆ __SYCL_GEN_OPT_BASE
#define __SYCL_GEN_OPT_BASE |
( |
|
op | ) |
|
Value: friend id<Dimensions> operator op(const id<Dimensions> &lhs, \
const id<Dimensions> &rhs) { \
id<Dimensions> result; \
result.common_array[i] = lhs.common_array[i] op rhs.common_array[i]; \
} \
return result; \
}
Definition at line 155 of file id.hpp.