ASL 0.1.7
Advanced Simulation Library
Loading...
Searching...
No Matches
Functions
Collaboration diagram for VectorOfElements generators:

Functions

template<typename T >
VectorOfElements acl::generateVEConstant (T a)
 Generates VectorOfElements with 1 Element acl::Constant with value a.
 
template<typename T >
VectorOfElements acl::generateVEConstant (T a, T b)
 Generates VectorOfElements with 2 Elements acl::Constant with values a and b.
 
template<typename T >
VectorOfElements acl::generateVEConstant (T a, T b, T c)
 Generates VectorOfElements with 3 Elements acl::Constant with values a,b and c.
 
template<typename T >
VectorOfElements acl::generateVEConstantN (unsigned int n, T a)
 Generates VectorOfElements with n Elements acl::Constant with values a.
 
template<typename T >
VectorOfElements acl::generateVEConstant (unsigned int n, const T *const a)
 Generates VectorOfElements with n Elements acl::Constant with values a[i].
 
template<typename T >
VectorOfElements acl::generateVEConstant (const std::vector< T > &a)
 Generates VectorOfElements with a.size() Elements acl::Constant with values a[i].
 
template<typename T >
VectorOfElements acl::generateVEConstant (const asl::AVec< T > &a)
 Generates VectorOfElements correspondinng to a.
 
template<typename T >
VectorOfElementsData acl::generateVEData (unsigned int length, unsigned int nComponents, CommandQueue queue)
 Generates VectorOfElements with nComponents Elements acl::Vector with size length.
 
template<typename T >
VectorOfElementsData acl::generateVEData (unsigned int length, unsigned int nComponents=1)
 Generates VectorOfElements with nComponents Elements acl::Vector with size length and default queue.
 
VectorOfElementsData acl::generateVEData (unsigned int length, TypeID typeID, unsigned int nComponents, CommandQueue queue)
 Generates VectorOfElementsData with nComponents Elements acl::Array of type with size length.
 
VectorOfElementsData acl::generateVEData (unsigned int length, TypeID typeID, unsigned int nComponents=1)
 Generates VectorOfElementsData with nComponents Elements acl::Array of type with size length and default queue.
 
VectorOfElements acl::generateVELocalArray (unsigned int componentSize, TypeID typeID, unsigned int size)
 Generates VectorOfElements with size Elements acl::LocalArray of type typeID with size componentSize.
 
template<typename T >
VectorOfElements acl::generateVEPrivateArray (const vector< T > &data)
 Generates VectorOfElements with size Elements acl::PrivateArray of type with data defined by data.
 
template<typename T >
VectorOfElements acl::generateVEPrivateArray (const vector< asl::AVec< T > > &data)
 Generates VectorOfElements with size Elements acl::PrivateArray of type with data defined by data.
 
template<typename T >
VectorOfElements acl::generateVEPrivateArray (const vector< T > &data, TypeID typeID)
 Generates VectorOfElements with size Elements acl::PrivateArray of type with size componentSize.
 
template<typename T >
VectorOfElements acl::generateVEPrivateArray (const vector< asl::AVec< T > > &data, TypeID typeID)
 Generates VectorOfElements with size Elements acl::PrivateArray of type with size componentSize.
 
template<typename T >
VectorOfElements acl::generateVEDataSub (T, unsigned int sublength, unsigned int length, unsigned int nComponents, CommandQueue queue)
 Generates VectorOfElements with nComponents Elements acl::Subvector with size sublength. length is the vector size.
 
template<typename T >
VectorOfElements acl::generateVEVariableR (T &a)
 Generates VectorOfElements with 1 Element acl::VariableReference with reference on a.
 
template<typename T >
VectorOfElements acl::generateVEVariableR (T &a, T &b)
 Generates VectorOfElements with 2 Element acl::VariableReference with references on a and b.
 
template<typename T >
VectorOfElements acl::generateVEVariableR (T &a, T &b, T &c)
 Generates VectorOfElements with 3 Element acl::VariableReference with references on a, b and c.
 
template<typename T >
VectorOfElements acl::generateVEVariableR (asl::AVec< T > &a)
 Generates VectorOfElements with nD(a) Element acl::VariableReference with reference on a[i] <>
 
template<typename T >
VectorOfElements acl::generateVEVariableSP (std::shared_ptr< T > a)
 Generates VectorOfElements with 1 Element acl::VariableReference with reference on a.
 
template<typename T >
VectorOfElements acl::generateVEVariableSP (std::shared_ptr< T > a, std::shared_ptr< T > b)
 Generates VectorOfElements with 2 Element acl::VariableReference with references on a and b.
 
template<typename T >
VectorOfElements acl::generateVEVariableSP (std::shared_ptr< T > a, std::shared_ptr< T > b, std::shared_ptr< T > c)
 Generates VectorOfElements with 3 Element acl::VariableReference with references on a, b and c.
 
template<typename T >
VectorOfElements acl::generateVEVariableSP (std::shared_ptr< asl::AVec< T > > a)
 Generates VectorOfElements with nD(a) Element acl::VariableReference with reference on a[i] <>
 
template<typename T >
VectorOfElements acl::generateVEPrivateVariable (unsigned int n)
 Generates VectorOfElements with n Element of acl::PrivateVariable.
 
VectorOfElements acl::generateVEPrivateVariable (unsigned int n, TypeID t)
 Generates VectorOfElements with n Element of acl::PrivateVariable with type t.
 
VectorOfElements acl::generateVESubElements (VectorOfElements a, unsigned int length, int offset)
 Generates VectorOfElements which contains SubElements of the corresponding element of a.
 
VectorOfElements acl::generateVESubElements (VectorOfElements a, unsigned int length, VectorOfElements offset)
 Generates VectorOfElements which contains SubElements of the corresponding element of a.
 
VectorOfElements acl::generateVEShftedElements (VectorOfElements a, int offset)
 Generates VectorOfElements which contains SubElements of the corresponding element of a.
 
VectorOfElements acl::generateVEShftedElements (VectorOfElements a, const std::vector< int > &offset)
 Generates VectorOfElements which contains SubElements of the corresponding element of a.
 
VectorOfElements acl::generateVEShiftedElements (VectorOfElements a, VectorOfElements offset)
 Generates VectorOfElements which contains SubElements of the corresponding element of a.
 
VectorOfElements acl::generateVEPolynom (VectorOfElements x, VectorOfElements coefs)
 
VectorOfElements acl::generateVEIndex (unsigned int size=0)
 
VectorOfElements acl::generateVEGroupID ()
 
VectorOfElements acl::generateVEIndexExt (unsigned int size=0)
 

Detailed Description

Function Documentation

◆ generateVEConstant() [1/6]

template<typename T >
VectorOfElements acl::generateVEConstant ( const asl::AVec< T > & a)

Generates VectorOfElements correspondinng to a.

◆ generateVEConstant() [2/6]

template<typename T >
VectorOfElements acl::generateVEConstant ( const std::vector< T > & a)

Generates VectorOfElements with a.size() Elements acl::Constant with values a[i].

◆ generateVEConstant() [3/6]

template<typename T >
VectorOfElements acl::generateVEConstant ( T a)

◆ generateVEConstant() [4/6]

template<typename T >
VectorOfElements acl::generateVEConstant ( T a,
T b )

Generates VectorOfElements with 2 Elements acl::Constant with values a and b.

◆ generateVEConstant() [5/6]

template<typename T >
VectorOfElements acl::generateVEConstant ( T a,
T b,
T c )

Generates VectorOfElements with 3 Elements acl::Constant with values a,b and c.

◆ generateVEConstant() [6/6]

template<typename T >
VectorOfElements acl::generateVEConstant ( unsigned int n,
const T *const a )

Generates VectorOfElements with n Elements acl::Constant with values a[i].

◆ generateVEConstantN()

template<typename T >
VectorOfElements acl::generateVEConstantN ( unsigned int n,
T a )

◆ generateVEData() [1/4]

VectorOfElementsData acl::generateVEData ( unsigned int length,
TypeID typeID,
unsigned int nComponents,
CommandQueue queue )

Generates VectorOfElementsData with nComponents Elements acl::Array of type with size length.

◆ generateVEData() [2/4]

VectorOfElementsData acl::generateVEData ( unsigned int length,
TypeID typeID,
unsigned int nComponents = 1 )

Generates VectorOfElementsData with nComponents Elements acl::Array of type with size length and default queue.

◆ generateVEData() [3/4]

template<typename T >
VectorOfElementsData acl::generateVEData ( unsigned int length,
unsigned int nComponents,
CommandQueue queue )

Generates VectorOfElements with nComponents Elements acl::Vector with size length.

◆ generateVEData() [4/4]

template<typename T >
VectorOfElementsData acl::generateVEData ( unsigned int length,
unsigned int nComponents = 1 )

Generates VectorOfElements with nComponents Elements acl::Vector with size length and default queue.

◆ generateVEDataSub()

template<typename T >
VectorOfElements acl::generateVEDataSub ( T ,
unsigned int sublength,
unsigned int length,
unsigned int nComponents,
CommandQueue queue )

Generates VectorOfElements with nComponents Elements acl::Subvector with size sublength. length is the vector size.

◆ generateVEGroupID()

VectorOfElements acl::generateVEGroupID ( )

Generates VectorOfElements with one Element of type GroupID

◆ generateVEIndex()

VectorOfElements acl::generateVEIndex ( unsigned int size = 0)

Generates VectorOfElements with one Element of type Index

Examples
testPrivateVar.cc.

◆ generateVEIndexExt()

VectorOfElements acl::generateVEIndexExt ( unsigned int size = 0)

Generates VectorOfElements with one Element of type Index

◆ generateVELocalArray()

VectorOfElements acl::generateVELocalArray ( unsigned int componentSize,
TypeID typeID,
unsigned int size )

Generates VectorOfElements with size Elements acl::LocalArray of type typeID with size componentSize.

◆ generateVEPolynom()

VectorOfElements acl::generateVEPolynom ( VectorOfElements x,
VectorOfElements coefs )

Generates VectorOfElements which 1 element correspond to polynom for x with coefs The polinom is \( x^{n-1}*coefs_0+x^{n-2}coefs_1+...+coefs_{n-1} \) The polynom contains mad fanction with type specification the type is defined by x

◆ generateVEPrivateArray() [1/4]

template<typename T >
VectorOfElements acl::generateVEPrivateArray ( const vector< asl::AVec< T > > & data)

Generates VectorOfElements with size Elements acl::PrivateArray of type with data defined by data.

◆ generateVEPrivateArray() [2/4]

template<typename T >
VectorOfElements acl::generateVEPrivateArray ( const vector< asl::AVec< T > > & data,
TypeID typeID )

Generates VectorOfElements with size Elements acl::PrivateArray of type with size componentSize.

◆ generateVEPrivateArray() [3/4]

template<typename T >
VectorOfElements acl::generateVEPrivateArray ( const vector< T > & data)

Generates VectorOfElements with size Elements acl::PrivateArray of type with data defined by data.

◆ generateVEPrivateArray() [4/4]

template<typename T >
VectorOfElements acl::generateVEPrivateArray ( const vector< T > & data,
TypeID typeID )

Generates VectorOfElements with size Elements acl::PrivateArray of type with size componentSize.

◆ generateVEPrivateVariable() [1/2]

template<typename T >
VectorOfElements acl::generateVEPrivateVariable ( unsigned int n)

Generates VectorOfElements with n Element of acl::PrivateVariable.

Examples
testPrivateVar.cc.

◆ generateVEPrivateVariable() [2/2]

VectorOfElements acl::generateVEPrivateVariable ( unsigned int n,
TypeID t )

Generates VectorOfElements with n Element of acl::PrivateVariable with type t.

◆ generateVEShftedElements() [1/2]

VectorOfElements acl::generateVEShftedElements ( VectorOfElements a,
const std::vector< int > & offset )

Generates VectorOfElements which contains SubElements of the corresponding element of a.

◆ generateVEShftedElements() [2/2]

VectorOfElements acl::generateVEShftedElements ( VectorOfElements a,
int offset )

Generates VectorOfElements which contains SubElements of the corresponding element of a.

◆ generateVEShiftedElements()

VectorOfElements acl::generateVEShiftedElements ( VectorOfElements a,
VectorOfElements offset )

Generates VectorOfElements which contains SubElements of the corresponding element of a.

◆ generateVESubElements() [1/2]

VectorOfElements acl::generateVESubElements ( VectorOfElements a,
unsigned int length,
int offset )

Generates VectorOfElements which contains SubElements of the corresponding element of a.

◆ generateVESubElements() [2/2]

VectorOfElements acl::generateVESubElements ( VectorOfElements a,
unsigned int length,
VectorOfElements offset )

Generates VectorOfElements which contains SubElements of the corresponding element of a.

◆ generateVEVariableR() [1/4]

template<typename T >
VectorOfElements acl::generateVEVariableR ( asl::AVec< T > & a)

Generates VectorOfElements with nD(a) Element acl::VariableReference with reference on a[i] <>

◆ generateVEVariableR() [2/4]

template<typename T >
VectorOfElements acl::generateVEVariableR ( T & a)

Generates VectorOfElements with 1 Element acl::VariableReference with reference on a.

◆ generateVEVariableR() [3/4]

template<typename T >
VectorOfElements acl::generateVEVariableR ( T & a,
T & b )

Generates VectorOfElements with 2 Element acl::VariableReference with references on a and b.

◆ generateVEVariableR() [4/4]

template<typename T >
VectorOfElements acl::generateVEVariableR ( T & a,
T & b,
T & c )

Generates VectorOfElements with 3 Element acl::VariableReference with references on a, b and c.

◆ generateVEVariableSP() [1/4]

template<typename T >
VectorOfElements acl::generateVEVariableSP ( std::shared_ptr< asl::AVec< T > > a)

Generates VectorOfElements with nD(a) Element acl::VariableReference with reference on a[i] <>

◆ generateVEVariableSP() [2/4]

template<typename T >
VectorOfElements acl::generateVEVariableSP ( std::shared_ptr< T > a)

Generates VectorOfElements with 1 Element acl::VariableReference with reference on a.

◆ generateVEVariableSP() [3/4]

template<typename T >
VectorOfElements acl::generateVEVariableSP ( std::shared_ptr< T > a,
std::shared_ptr< T > b )

Generates VectorOfElements with 2 Element acl::VariableReference with references on a and b.

◆ generateVEVariableSP() [4/4]

template<typename T >
VectorOfElements acl::generateVEVariableSP ( std::shared_ptr< T > a,
std::shared_ptr< T > b,
std::shared_ptr< T > c )

Generates VectorOfElements with 3 Element acl::VariableReference with references on a, b and c.