Skip to content

Commit

Permalink
Fix sycl namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
G-071 committed Mar 11, 2024
1 parent a60cccf commit 1e719e7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions include/sycl_buffer_util.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,24 +19,24 @@ namespace detail {
template <class T>
using sycl_host_default_allocator
[[deprecated("Use from header sycl_recycling_allocators.hpp instead")]] =
cppuddle::detail::sycl_host_default_allocator<T>;
cppuddle::memory_recycling::detail::sycl_host_default_allocator<T>;

template <class T>
using sycl_device_default_allocator
[[deprecated("Use from header sycl_recycling_allocators.hpp instead")]] =
cppuddle::detail::sycl_device_default_allocator<T>;
cppuddle::memory_recycling::detail::sycl_device_default_allocator<T>;

} // end namespace detail

template <typename T, std::enable_if_t<std::is_trivial<T>::value, int> = 0>
using recycle_allocator_sycl_host
[[deprecated("Use from header sycl_recycling_allocators.hpp instead")]] =
cppuddle::recycle_allocator_sycl_host<T>;
cppuddle::memory_recycling::recycle_allocator_sycl_host<T>;

template <typename T, std::enable_if_t<std::is_trivial<T>::value, int> = 0>
using recycle_allocator_sycl_device
[[deprecated("Use from header sycl_recycling_allocators.hpp instead")]] =
cppuddle::recycle_allocator_sycl_device<T>;
cppuddle::memory_recycling::recycle_allocator_sycl_device<T>;

} // end namespace recycler
#endif

0 comments on commit 1e719e7

Please sign in to comment.