TR-mbed 1.0
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
Eigen::TensorDevice< ExpressionType, DeviceType > Class Template Reference

Pseudo expression providing an operator = that will evaluate its argument on the specified computing 'device' (GPU, thread pool, ...) More...

#include <TensorDevice.h>

Public Member Functions

 TensorDevice (const DeviceType &device, ExpressionType &expression)
 
template<typename OtherDerived >
EIGEN_STRONG_INLINE TensorDeviceoperator= (const OtherDerived &other)
 
template<typename OtherDerived >
EIGEN_STRONG_INLINE TensorDeviceoperator+= (const OtherDerived &other)
 
template<typename OtherDerived >
EIGEN_STRONG_INLINE TensorDeviceoperator-= (const OtherDerived &other)
 

Protected Attributes

const DeviceType & m_device
 
ExpressionType & m_expression
 

Detailed Description

template<typename ExpressionType, typename DeviceType>
class Eigen::TensorDevice< ExpressionType, DeviceType >

Pseudo expression providing an operator = that will evaluate its argument on the specified computing 'device' (GPU, thread pool, ...)

Example: C.device(EIGEN_GPU) = A + B;

Todo: operator *= and /=.

Constructor & Destructor Documentation

◆ TensorDevice()

template<typename ExpressionType , typename DeviceType >
Eigen::TensorDevice< ExpressionType, DeviceType >::TensorDevice ( const DeviceType &  device,
ExpressionType &  expression 
)
inline

Member Function Documentation

◆ operator+=()

template<typename ExpressionType , typename DeviceType >
template<typename OtherDerived >
EIGEN_STRONG_INLINE TensorDevice & Eigen::TensorDevice< ExpressionType, DeviceType >::operator+= ( const OtherDerived &  other)
inline

◆ operator-=()

template<typename ExpressionType , typename DeviceType >
template<typename OtherDerived >
EIGEN_STRONG_INLINE TensorDevice & Eigen::TensorDevice< ExpressionType, DeviceType >::operator-= ( const OtherDerived &  other)
inline

◆ operator=()

template<typename ExpressionType , typename DeviceType >
template<typename OtherDerived >
EIGEN_STRONG_INLINE TensorDevice & Eigen::TensorDevice< ExpressionType, DeviceType >::operator= ( const OtherDerived &  other)
inline

Member Data Documentation

◆ m_device

template<typename ExpressionType , typename DeviceType >
const DeviceType& Eigen::TensorDevice< ExpressionType, DeviceType >::m_device
protected

◆ m_expression

template<typename ExpressionType , typename DeviceType >
ExpressionType& Eigen::TensorDevice< ExpressionType, DeviceType >::m_expression
protected

The documentation for this class was generated from the following file: