21 #ifndef __ESIMD_ENABLE_TEST_PROXY
24 #define __ESIMD_DECLARE_TEST_PROXY
25 #define __ESIMD_DECLARE_TEST_PROXY_ACCESS
26 #define __esimd_move_test_proxy(other)
36 #define __ESIMD_DECLARE_TEST_PROXY \
37 esimd::detail::test::test_proxy M_testProxy = \
38 esimd::detail::test::test_proxy();
41 #define __ESIMD_DECLARE_TEST_PROXY_ACCESS \
42 const auto &get_test_proxy() const { return M_testProxy; }
51 #define __esimd_move_test_proxy(other) \
53 M_testProxy = std::move(other.M_testProxy); \
57 namespace sycl::ext::intel::esimd::detail::test {
80 bool M_move_destination =
false;
85 test_proxy(
const test_proxy &) {
88 test_proxy(test_proxy &&) {
90 M_move_destination =
true;
92 test_proxy &operator=(
const test_proxy &) {
96 test_proxy &operator=(test_proxy &&) {
98 M_move_destination =
true;
101 bool was_move_destination()
const {
return M_move_destination; }
107 #endif // __ESIMD_ENABLE_TEST_PROXY