mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-03-13 18:37:27 +08:00
Added a few missing EIGEN_DEVICE_FUNC statements
This commit is contained in:
parent
d457734a19
commit
466bcc589e
@ -276,16 +276,20 @@ class TensorSelectOp : public TensorBase<TensorSelectOp<IfXprType, ThenXprType,
|
||||
typedef typename Eigen::internal::traits<TensorSelectOp>::StorageKind StorageKind;
|
||||
typedef typename Eigen::internal::traits<TensorSelectOp>::Index Index;
|
||||
|
||||
EIGEN_DEVICE_FUNC
|
||||
TensorSelectOp(const IfXprType& a_condition,
|
||||
const ThenXprType& a_then,
|
||||
const ElseXprType& a_else)
|
||||
: m_condition(a_condition), m_then(a_then), m_else(a_else)
|
||||
{ }
|
||||
|
||||
EIGEN_DEVICE_FUNC
|
||||
const IfXprType& ifExpression() const { return m_condition; }
|
||||
|
||||
EIGEN_DEVICE_FUNC
|
||||
const ThenXprType& thenExpression() const { return m_then; }
|
||||
|
||||
EIGEN_DEVICE_FUNC
|
||||
const ElseXprType& elseExpression() const { return m_else; }
|
||||
|
||||
protected:
|
||||
|
Loading…
x
Reference in New Issue
Block a user