mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Adding TensorIndexTuple and TensorTupleReduceOP backend (ArgMax/Min) for sycl; fixing the address space issue for const TensorMap; converting all discard_write to write due to data missmatch.
This commit is contained in:
@@ -124,7 +124,9 @@ template <typename U, typename V> struct Tuple {
|
||||
|
||||
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
|
||||
Tuple& operator= (const Tuple& rhs) {
|
||||
#ifndef __SYCL_DEVICE_ONLY__
|
||||
if (&rhs == this) return *this;
|
||||
#endif
|
||||
first = rhs.first;
|
||||
second = rhs.second;
|
||||
return *this;
|
||||
|
||||
Reference in New Issue
Block a user