TiledArray::expressions::TsrEngine< Array, Result, Alias > Class Template Reference

Documentation

template<typename Array, typename Result, bool Alias>
class TiledArray::expressions::TsrEngine< Array, Result, Alias >

Tensor expression engine.

Template Parameters
ArrayThe DistArray type
AliasIndicates the array tiles should be computed as a temporary before assignment
ResultThe result tile type

Definition at line 90 of file tsr_engine.h.

Public Types

typedef TsrEngine< Array, Result, Alias > TsrEngine_
 This class type. More...
 
typedef LeafEngine< TsrEngine_LeafEngine_
 Leaf base class type. More...
 
typedef LeafEngine_::ExprEngine_ ExprEngine_
 Expression engine base class. More...
 
typedef EngineTrait< TsrEngine_ >::array_type array_type
 The left-hand expression type. More...
 
typedef EngineTrait< TsrEngine_ >::value_type value_type
 Tensor value type. More...
 
typedef EngineTrait< TsrEngine_ >::op_base_type op_base_type
 Tile base operation type. More...
 
typedef EngineTrait< TsrEngine_ >::op_type op_type
 Tile operation type. More...
 
typedef EngineTrait< TsrEngine_ >::policy policy
 The result policy type. More...
 
typedef EngineTrait< TsrEngine_ >::dist_eval_type dist_eval_type
 This expression's distributed evaluator type. More...
 
typedef EngineTrait< TsrEngine_ >::size_type size_type
 Size type. More...
 
typedef EngineTrait< TsrEngine_ >::trange_type trange_type
 Tiled range type type. More...
 
typedef EngineTrait< TsrEngine_ >::shape_type shape_type
 Tensor shape type. More...
 
typedef EngineTrait< TsrEngine_ >::pmap_interface pmap_interface
 Process map interface type. More...
 

Public Member Functions

template<typename A >
 TsrEngine (const TsrExpr< A, Alias > &expr)
 

Static Public Member Functions

static op_type make_tile_op ()
 Non-permuting tile operation factory function. More...
 
template<typename Perm , typename = std::enable_if_t< TiledArray::detail::is_permutation_v<Perm>>>
static op_type make_tile_op (const Perm &perm)
 Permuting tile operation factory function. More...
 

Member Typedef Documentation

◆ array_type

template<typename Array , typename Result , bool Alias>
typedef EngineTrait<TsrEngine_>::array_type TiledArray::expressions::TsrEngine< Array, Result, Alias >::array_type

The left-hand expression type.

Definition at line 100 of file tsr_engine.h.

◆ dist_eval_type

template<typename Array , typename Result , bool Alias>
typedef EngineTrait<TsrEngine_>::dist_eval_type TiledArray::expressions::TsrEngine< Array, Result, Alias >::dist_eval_type

This expression's distributed evaluator type.

Definition at line 112 of file tsr_engine.h.

◆ ExprEngine_

template<typename Array , typename Result , bool Alias>
typedef LeafEngine_::ExprEngine_ TiledArray::expressions::TsrEngine< Array, Result, Alias >::ExprEngine_

Expression engine base class.

Definition at line 96 of file tsr_engine.h.

◆ LeafEngine_

template<typename Array , typename Result , bool Alias>
typedef LeafEngine<TsrEngine_> TiledArray::expressions::TsrEngine< Array, Result, Alias >::LeafEngine_

Leaf base class type.

Definition at line 94 of file tsr_engine.h.

◆ op_base_type

template<typename Array , typename Result , bool Alias>
typedef EngineTrait<TsrEngine_>::op_base_type TiledArray::expressions::TsrEngine< Array, Result, Alias >::op_base_type

Tile base operation type.

Definition at line 106 of file tsr_engine.h.

◆ op_type

template<typename Array , typename Result , bool Alias>
typedef EngineTrait<TsrEngine_>::op_type TiledArray::expressions::TsrEngine< Array, Result, Alias >::op_type

Tile operation type.

Definition at line 108 of file tsr_engine.h.

◆ pmap_interface

template<typename Array , typename Result , bool Alias>
typedef EngineTrait<TsrEngine_>::pmap_interface TiledArray::expressions::TsrEngine< Array, Result, Alias >::pmap_interface

Process map interface type.

Definition at line 121 of file tsr_engine.h.

◆ policy

template<typename Array , typename Result , bool Alias>
typedef EngineTrait<TsrEngine_>::policy TiledArray::expressions::TsrEngine< Array, Result, Alias >::policy

The result policy type.

Definition at line 110 of file tsr_engine.h.

◆ shape_type

template<typename Array , typename Result , bool Alias>
typedef EngineTrait<TsrEngine_>::shape_type TiledArray::expressions::TsrEngine< Array, Result, Alias >::shape_type

Tensor shape type.

Definition at line 119 of file tsr_engine.h.

◆ size_type

template<typename Array , typename Result , bool Alias>
typedef EngineTrait<TsrEngine_>::size_type TiledArray::expressions::TsrEngine< Array, Result, Alias >::size_type

Size type.

Definition at line 115 of file tsr_engine.h.

◆ trange_type

template<typename Array , typename Result , bool Alias>
typedef EngineTrait<TsrEngine_>::trange_type TiledArray::expressions::TsrEngine< Array, Result, Alias >::trange_type

Tiled range type type.

Definition at line 117 of file tsr_engine.h.

◆ TsrEngine_

template<typename Array , typename Result , bool Alias>
typedef TsrEngine<Array, Result, Alias> TiledArray::expressions::TsrEngine< Array, Result, Alias >::TsrEngine_

This class type.

Definition at line 93 of file tsr_engine.h.

◆ value_type

template<typename Array , typename Result , bool Alias>
typedef EngineTrait<TsrEngine_>::value_type TiledArray::expressions::TsrEngine< Array, Result, Alias >::value_type

Tensor value type.

Definition at line 104 of file tsr_engine.h.

Constructor & Destructor Documentation

◆ TsrEngine()

template<typename Array , typename Result , bool Alias>
template<typename A >
TiledArray::expressions::TsrEngine< Array, Result, Alias >::TsrEngine ( const TsrExpr< A, Alias > &  expr)
inline

Definition at line 124 of file tsr_engine.h.

Member Function Documentation

◆ make_tile_op() [1/2]

template<typename Array , typename Result , bool Alias>
static op_type TiledArray::expressions::TsrEngine< Array, Result, Alias >::make_tile_op ( )
inlinestatic

Non-permuting tile operation factory function.

Returns
The tile operation

Definition at line 129 of file tsr_engine.h.

◆ make_tile_op() [2/2]

template<typename Array , typename Result , bool Alias>
template<typename Perm , typename = std::enable_if_t< TiledArray::detail::is_permutation_v<Perm>>>
static op_type TiledArray::expressions::TsrEngine< Array, Result, Alias >::make_tile_op ( const Perm &  perm)
inlinestatic

Permuting tile operation factory function.

Parameters
permThe permutation to be applied to tiles
Returns
The tile operation

Definition at line 137 of file tsr_engine.h.


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