12
12
13
13
#include < sycl/aspects.hpp>
14
14
#include < sycl/ext/intel/esimd/detail/intrin.hpp>
15
- #include < sycl/ext/intel/esimd/detail/test_proxy.hpp>
16
15
#include < sycl/ext/intel/esimd/detail/type_format.hpp>
17
16
18
17
namespace sycl {
@@ -300,10 +299,9 @@ class [[__sycl_detail__::__uses_aspects__(
300
299
/* OPASSIGN simd_obj_impl */ \
301
300
template <class T1 , int N1, class SimdT1 , class T = element_type, \
302
301
class SimdT = BaseTy, \
303
- class = \
304
- std::enable_if_t <(is_simd_type_v<SimdT> == \
305
- is_simd_type_v<SimdT1>)&&(N1 == length) && \
306
- COND>> \
302
+ class = std::enable_if_t <(is_simd_type_v<SimdT> == \
303
+ is_simd_type_v<SimdT1>) && \
304
+ (N1 == length) && COND>> \
307
305
Derived &operator OPASSIGN (const simd_obj_impl<T1, N1, SimdT1> &RHS) { \
308
306
auto Res = read () BINOP RHS; \
309
307
write (Res); \
@@ -316,9 +314,8 @@ class [[__sycl_detail__::__uses_aspects__(
316
314
typename __ESIMD_NS::shape_type<RegionT1>::element_type, \
317
315
class T = element_type, class SimdT = BaseTy, \
318
316
class = std::enable_if_t < \
319
- (is_simd_type_v<SimdT> == is_simd_type_v<SimdT1>)&&( \
320
- length == __ESIMD_NS::shape_type<RegionT1>::length) && \
321
- COND>> \
317
+ (is_simd_type_v<SimdT> == is_simd_type_v<SimdT1>) && \
318
+ (length == __ESIMD_NS::shape_type<RegionT1>::length) && COND>> \
322
319
Derived &operator OPASSIGN (const simd_view_impl<SimdT1, RegionT1> &RHS) { \
323
320
*this OPASSIGN RHS.read (); \
324
321
return cast_this_to_derived (); \
@@ -404,14 +401,10 @@ class [[__sycl_detail__::__uses_aspects__(
404
401
// / region viewed by this object.
405
402
// / @param Other The source rvalue object.
406
403
// / @return This object cast to the derived class.
407
- Derived &operator =(Derived &&Other) {
408
- __esimd_move_test_proxy (Other);
409
- return write (Other.read ());
410
- }
404
+ Derived &operator =(Derived &&Other) { return write (Other.read ()); }
411
405
412
406
// / Move assignment operator. Updates the target region viewed by this object.
413
407
simd_view_impl &operator =(simd_view_impl &&Other) {
414
- __esimd_move_test_proxy (Other);
415
408
return write (Other.read ());
416
409
}
417
410
@@ -425,8 +418,8 @@ class [[__sycl_detail__::__uses_aspects__(
425
418
// / @return This object cast to the derived class.
426
419
template <class T , int N, class SimdT ,
427
420
class = std::enable_if_t <(is_simd_type_v<SimdT> ==
428
- is_simd_type_v<BaseTy>)&&(length ==
429
- SimdT::length)>>
421
+ is_simd_type_v<BaseTy>) &&
422
+ (length == SimdT::length)>>
430
423
Derived &operator =(const simd_obj_impl<T, N, SimdT> &Other) {
431
424
return write (convert_vector<element_type, typename SimdT::element_type, N>(
432
425
Other.data ()));
@@ -587,16 +580,10 @@ class [[__sycl_detail__::__uses_aspects__(
587
580
588
581
// / @cond EXCLUDE
589
582
public:
590
- // Getter for the test proxy member, if enabled
591
- __ESIMD_DECLARE_TEST_PROXY_ACCESS
592
-
593
583
protected:
594
584
// The reference to the base object, which must be a simd object
595
585
BaseTy &M_base;
596
586
597
- // The test proxy if enabled
598
- __ESIMD_DECLARE_TEST_PROXY
599
-
600
587
// The region applied on the base object. Its type could be
601
588
// - region1d_t
602
589
// - region2d_t
0 commit comments