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

◆ TensorDevice()

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

◆ operator+=()

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

Definition at line 42 of file TensorDevice.h.

◆ operator-=()

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

Definition at line 53 of file TensorDevice.h.

◆ operator=()

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

Definition at line 34 of file TensorDevice.h.

Member Data Documentation

◆ m_device

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

Definition at line 64 of file TensorDevice.h.

◆ m_expression

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

Definition at line 65 of file TensorDevice.h.


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


gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:12:26