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

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)
 
 TensorDevice (const DeviceType &device, ExpressionType &expression)
 

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 /=.

Definition at line 27 of file TensorDevice.h.

Constructor & Destructor Documentation

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

Definition at line 29 of file TensorDevice.h.

Member Function Documentation

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

Definition at line 40 of file TensorDevice.h.

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

Definition at line 51 of file TensorDevice.h.

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

Definition at line 32 of file TensorDevice.h.

Member Data Documentation

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

Definition at line 62 of file TensorDevice.h.

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

Definition at line 63 of file TensorDevice.h.


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


hebiros
Author(s): Xavier Artache , Matthew Tesch
autogenerated on Thu Sep 3 2020 04:10:23