@@ -503,8 +503,9 @@ template <typename Ty, int N> class simd {
503
503
// / @param acc accessor to copy from.
504
504
// / @param offset offset to copy from.
505
505
template <typename AccessorT>
506
- ESIMD_INLINE EnableIfAccessor<AccessorT, accessor_mode_cap::can_read, sycl::access::target::global_buffer, void >
507
- copy_from (AccessorT acc, uint32_t offset) SYCL_ESIMD_FUNCTION;
506
+ ESIMD_INLINE EnableIfAccessor<AccessorT, accessor_mode_cap::can_read,
507
+ sycl::access::target::global_buffer, void >
508
+ copy_from (AccessorT acc, uint32_t offset) SYCL_ESIMD_FUNCTION;
508
509
509
510
// / Copy all vector elements of this object into a contiguous block in memory.
510
511
// / @param addr the memory address to copy to. Must be a pointer to the
@@ -517,8 +518,9 @@ template <typename Ty, int N> class simd {
517
518
// / @param acc accessor to copy from.
518
519
// / @param offset offset to copy from.
519
520
template <typename AccessorT>
520
- ESIMD_INLINE EnableIfAccessor<AccessorT, accessor_mode_cap::can_write, sycl::access::target::global_buffer, void >
521
- copy_to (AccessorT acc, uint32_t offset) SYCL_ESIMD_FUNCTION;
521
+ ESIMD_INLINE EnableIfAccessor<AccessorT, accessor_mode_cap::can_write,
522
+ sycl::access::target::global_buffer, void >
523
+ copy_to (AccessorT acc, uint32_t offset) SYCL_ESIMD_FUNCTION;
522
524
523
525
// / @} // Memory operations
524
526
private:
@@ -560,7 +562,8 @@ template <typename T, int N> void simd<T, N>::copy_from(const T *const addr) {
560
562
561
563
template <typename T, int N>
562
564
template <typename AccessorT>
563
- ESIMD_INLINE EnableIfAccessor<AccessorT, accessor_mode_cap::can_read, sycl::access::target::global_buffer, void >
565
+ ESIMD_INLINE EnableIfAccessor<AccessorT, accessor_mode_cap::can_read,
566
+ sycl::access::target::global_buffer, void >
564
567
simd<T, N>::copy_from(AccessorT acc, uint32_t offset) {
565
568
constexpr unsigned Sz = sizeof (T) * N;
566
569
static_assert (Sz >= detail::OperandSize::OWORD,
@@ -597,7 +600,8 @@ template <typename T, int N> void simd<T, N>::copy_to(T *addr) {
597
600
598
601
template <typename T, int N>
599
602
template <typename AccessorT>
600
- ESIMD_INLINE EnableIfAccessor<AccessorT, accessor_mode_cap::can_write, sycl::access::target::global_buffer, void >
603
+ ESIMD_INLINE EnableIfAccessor<AccessorT, accessor_mode_cap::can_write,
604
+ sycl::access::target::global_buffer, void >
601
605
simd<T, N>::copy_to(AccessorT acc, uint32_t offset) {
602
606
constexpr unsigned Sz = sizeof (T) * N;
603
607
static_assert (Sz >= detail::OperandSize::OWORD,
0 commit comments