Skip to content

Commit 0080b4e

Browse files
committed
[SYCL][ESIMD] Move test_proxy to the test namespace
Signed-off-by: Kochetkov, Yuriy <[email protected]>
1 parent 7802416 commit 0080b4e

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

sycl/include/sycl/ext/intel/experimental/esimd/detail/test_proxy.hpp

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@
3232
// default/copy/move constructor of the test_proxy class was explcitly
3333
// called by any of the user-defined constructors of the proxy target
3434
#define __ESIMD_DECLARE_TEST_PROXY \
35-
esimd::detail::test_proxy M_testProxy = esimd::detail::test_proxy();
35+
esimd::detail::test::test_proxy M_testProxy = \
36+
esimd::detail::test::test_proxy();
3637

3738
// Declare the getter to access the proxy from the tests
3839
#define __ESIMD_DECLARE_TEST_PROXY_ACCESS \
@@ -51,12 +52,7 @@
5152
} while (false)
5253

5354
__SYCL_INLINE_NAMESPACE(cl) {
54-
namespace sycl {
55-
namespace ext {
56-
namespace intel {
57-
namespace experimental {
58-
namespace esimd {
59-
namespace detail {
55+
namespace sycl::ext::intel::experimental::esimd::detail::test {
6056

6157
// The test_proxy class.
6258
// Being intended solely for the test purposes, it is enabled only if the
@@ -103,12 +99,7 @@ class test_proxy {
10399
bool was_moved() const { return m_moved; }
104100
};
105101

106-
} // namespace detail
107-
} // namespace esimd
108-
} // namespace experimental
109-
} // namespace intel
110-
} // namespace ext
111-
} // namespace sycl
102+
} // namespace sycl::ext::intel::experimental::esimd::detail::test
112103
} // __SYCL_INLINE_NAMESPACE(cl)
113104

114105
#endif // __ESIMD_ENABLE_TEST_PROXY

0 commit comments

Comments
 (0)