#include <sycl/detail/array.hpp>
#include <sycl/detail/helpers.hpp>
#include <array>
#include <stddef.h>
#include <type_traits>
Go to the source code of this file.
◆ __SYCL_GEN_OPT [1/5]
#define __SYCL_GEN_OPT |
( |
|
op | ) |
|
Value:
template <typename T> \
friend IntegralType<T, range<Dimensions>> operator op( \
const range<Dimensions> &lhs, const T &rhs) { \
range<Dimensions> result(lhs); \
result.common_array[i] = lhs.common_array[i] op rhs; \
} \
return result; \
} \
template <typename T> \
friend IntegralType<T, range<Dimensions>> operator op( \
const T &lhs, const range<Dimensions> &rhs) { \
range<Dimensions> result(rhs); \
result.common_array[i] = lhs op rhs.common_array[i]; \
} \
return result; \
}
class __SYCL_EBO __SYCL_SPECIAL_CLASS Dimensions
#define __SYCL_GEN_OPT_BASE(op)
Definition at line 204 of file range.hpp.
◆ __SYCL_GEN_OPT [2/5]
#define __SYCL_GEN_OPT |
( |
|
op | ) |
|
Value: friend range<Dimensions> &operator op(range<Dimensions> &lhs, \
const range<Dimensions> &rhs) { \
lhs.common_array[i] op rhs[i]; \
} \
return lhs; \
} \
friend range<Dimensions> &operator op(range<Dimensions> &lhs, \
const size_t &rhs) { \
lhs.common_array[i] op rhs; \
} \
return lhs; \
}
Definition at line 204 of file range.hpp.
◆ __SYCL_GEN_OPT [3/5]
#define __SYCL_GEN_OPT |
( |
|
op | ) |
|
Value: friend range<Dimensions> operator op(const range<Dimensions> &rhs) { \
range<Dimensions> result(rhs); \
result.common_array[i] = (op rhs.common_array[i]); \
} \
return result; \
}
Definition at line 204 of file range.hpp.
◆ __SYCL_GEN_OPT [4/5]
#define __SYCL_GEN_OPT |
( |
|
op | ) |
|
Value: friend range<Dimensions> &operator op(range<Dimensions> &rhs) { \
op rhs.common_array[i]; \
} \
return rhs; \
}
Definition at line 204 of file range.hpp.
◆ __SYCL_GEN_OPT [5/5]
#define __SYCL_GEN_OPT |
( |
|
op | ) |
|
Value: friend range<Dimensions> operator op(range<Dimensions> &lhs, int) { \
range<Dimensions> old_lhs(lhs); \
op lhs.common_array[i]; \
} \
return old_lhs; \
}
Definition at line 204 of file range.hpp.
◆ __SYCL_GEN_OPT_BASE
#define __SYCL_GEN_OPT_BASE |
( |
|
op | ) |
|
Value: friend range<Dimensions> operator op(const range<Dimensions> &lhs, \
const range<Dimensions> &rhs) { \
range<Dimensions> result(lhs); \
result.common_array[i] = lhs.common_array[i] op rhs.common_array[i]; \
} \
return result; \
}
Definition at line 71 of file range.hpp.