Skip to content

Commit 66d0908

Browse files
committed
Replace cl::sycl with sycl
Signed-off-by: Larsen, Steffen <steffen.larsen@intel.com>
1 parent cbea9b2 commit 66d0908

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

sycl/include/sycl/detail/aligned_allocator.hpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ template <typename T> class aligned_allocator {
8484

8585
namespace std {
8686
template <typename T>
87-
struct allocator_traits<cl::sycl::detail::aligned_allocator<T>> {
88-
using allocator_type = typename cl::sycl::detail::aligned_allocator<T>;
87+
struct allocator_traits<sycl::detail::aligned_allocator<T>> {
88+
using allocator_type = typename sycl::detail::aligned_allocator<T>;
8989
using value_type = typename allocator_type::value_type;
9090
using pointer = typename allocator_type::pointer;
9191
using const_pointer = typename allocator_type::const_pointer;
@@ -102,8 +102,8 @@ struct allocator_traits<cl::sycl::detail::aligned_allocator<T>> {
102102
using is_always_equal = typename std::is_empty<allocator_type>::type;
103103

104104
template <typename U>
105-
using rebind_alloc = typename cl::sycl::detail::aligned_allocator<
106-
T>::template rebind<U>::other;
105+
using rebind_alloc =
106+
typename sycl::detail::aligned_allocator<T>::template rebind<U>::other;
107107
template <typename U> using rebind_traits = allocator_traits<rebind_alloc<U>>;
108108

109109
static pointer allocate(allocator_type &Allocator, size_type NumElems) {

0 commit comments

Comments
 (0)