diff --git a/sycl/include/sycl/stream.hpp b/sycl/include/sycl/stream.hpp index 04015e50c9d85..c38af9a8ab4b0 100644 --- a/sycl/include/sycl/stream.hpp +++ b/sycl/include/sycl/stream.hpp @@ -66,21 +66,19 @@ using EnableIfFP = typename std::enable_if_t || T>; using GlobalBufAccessorT = accessor; + sycl::access::target::device>; constexpr static access::address_space GlobalBufAS = - TargetToAS::AS; + TargetToAS::AS; using GlobalBufPtrType = typename detail::DecoratedType::type *; constexpr static int GlobalBufDim = 1; using GlobalOffsetAccessorT = accessor; + sycl::access::target::device>; constexpr static access::address_space GlobalOffsetAS = - TargetToAS::AS; + TargetToAS::AS; using GlobalOffsetPtrType = typename detail::DecoratedType::type *; constexpr static int GlobalOffsetDim = 1;