24#ifndef ACLVECTORELEMENTSOPERATIONS_H
25#define ACLVECTORELEMENTSOPERATIONS_H
34 class KernelConfiguration;
37 typedef std::shared_ptr<ElementBase>
Element;
40 class VectorOfElements;
70 void copy(
const vector<Element> & source,
77 void copy(
const vector<ElementData> & source,
85 void copy(
const vector<Element> & source,
111 const vector<unsigned int> & iList);
ACL Kernel configuration class.
The class represents several ElementData.
VectorOfElementsData clone(VectorOfElementsData a)
VectorOfElementsData clone(VectorOfElementsData a, unsigned int n)
void swapBuffers(const VectorOfElementsData &a, const VectorOfElementsData &b)
The class represents several Element.
void copy(const vector< Element > &source, VectorOfElements &destination, unsigned int start, unsigned int end)
Copies the VectorOfElements class.
void initData(VectorOfElements a, VectorOfElements initializationValue, const KernelConfiguration &kernelConfig)
void initData(VectorOfElements a, VectorOfElements initializationValue)
void copy(const vector< ElementData > &source, VectorOfElements &destination)
Copies the VectorOfElements class.
VectorOfElements subVE(const VectorOfElements &source, unsigned int start, unsigned int end)
VectorOfElements subVE(const VectorOfElements &source, unsigned int i)
VectorOfElements subVE(const VectorOfElements &source, const vector< unsigned int > &iList)
VectorOfElementsData subVE(const VectorOfElementsData &source, unsigned int start, unsigned int end)
VectorOfElements operator!=(const VectorOfElements &a, const VectorOfElements &b)
VectorOfElements minAbsElement(const VectorOfElements &a)
VectorOfElements fabs(const VectorOfElements &a)
VectorOfElements operator!=(const VectorOfElements &a, const T &b)
VectorOfElements operator*(const VectorOfElements &a, const VectorOfElements &b)
VectorOfElements assignmentSafe(const VectorOfElements &a, const VectorOfElements &b)
VectorOfElements operator<(const VectorOfElements &a, const T &b)
VectorOfElements operator!(const VectorOfElements &a)
VectorOfElements copysign(const VectorOfElements &a, const VectorOfElements &b, TypeID t)
VectorOfElements sqrt(const VectorOfElements &a)
VectorOfElements operator<(const T &b, const VectorOfElements &a)
VectorOfElements operator+=(const VectorOfElements &a, const VectorOfElements &b)
VectorOfElements operator/(const VectorOfElements &a, const VectorOfElements &b)
VectorOfElements operator>=(const VectorOfElements &a, const VectorOfElements &b)
VectorOfElements floor(const VectorOfElements &a)
VectorOfElements abs(const VectorOfElements &a)
VectorOfElements operator==(const T &b, const VectorOfElements &a)
VectorOfElements operator>=(const T &b, const VectorOfElements &a)
VectorOfElements operator-(const VectorOfElements &a, const T &b)
VectorOfElements abs_diff(const VectorOfElements &a, const VectorOfElements &b)
VectorOfElements operator-(const VectorOfElements &a)
VectorOfElements crossProduct(const VectorOfElements &a, const VectorOfElements &b)
VectorOfElements operator*=(const VectorOfElements &a, const T &b)
VectorOfElements log10(const VectorOfElements &a)
VectorOfElements operator%(const VectorOfElements &a, const T &b)
VectorOfElements operator-=(const VectorOfElements &a, const VectorOfElements &b)
VectorOfElements operator-=(const VectorOfElements &a, const T &b)
VectorOfElements operator+(const VectorOfElements &a, const T &b)
VectorOfElements operator*=(const VectorOfElements &a, const VectorOfElements &b)
VectorOfElements operator*(const T &a, const VectorOfElements &b)
VectorOfElements operator!=(const T &b, const VectorOfElements &a)
VectorOfElements operator+(const T &a, const VectorOfElements &b)
VectorOfElements productOfElements(const VectorOfElements &a, const VectorOfElements &b)
VectorOfElements operator/=(const VectorOfElements &a, const T &b)
VectorOfElements catN(const VectorOfElements &a, unsigned int n)
VectorOfElements minElement(const VectorOfElements &a)
VectorOfElements convert(acl::TypeID type, const VectorOfElements &a, bool strong=true)
VectorOfElements operator/(const VectorOfElements &a, const T &b)
VectorOfElements operator+=(const VectorOfElements &a, const T &b)
VectorOfElements select(const VectorOfElements &b, const VectorOfElements &c, TypeID t)
VectorOfElementsData cat(const VectorOfElementsData &a, const VectorOfElementsData &b)
VectorOfElements operator+(const VectorOfElements &a, const VectorOfElements &b)
VectorOfElements max(const VectorOfElements &a, const VectorOfElements &b)
VectorOfElements operator%(const T &b, const VectorOfElements &a)
VectorOfElements min(const VectorOfElements &a, const VectorOfElements &b, TypeID type)
VectorOfElements exp(const VectorOfElements &a)
VectorOfElements select(const VectorOfElements &a, const VectorOfElements &b, const VectorOfElements &c)
VectorOfElements max(const VectorOfElements &a, const VectorOfElements &b, TypeID type)
VectorOfElements operator||(const VectorOfElements &a, const VectorOfElements &b)
VectorOfElements sign(const VectorOfElements &a)
VectorOfElements cat(const VectorOfElements &a, const VectorOfElements &b)
VectorOfElements sumOfElements(const VectorOfElements &a)
VectorOfElements mad(const VectorOfElements &a, const VectorOfElements &b, const VectorOfElements &c, TypeID t)
VectorOfElements productOfElements(const VectorOfElements &a)
VectorOfElements divisionOfElements(const VectorOfElements &a, const VectorOfElements &b)
VectorOfElements cat(const VectorOfElements *a, unsigned int n)
VectorOfElements rsqrt(const VectorOfElements &a)
VectorOfElements log(const VectorOfElements &a)
VectorOfElements operator<(const VectorOfElements &a, const VectorOfElements &b)
VectorOfElements operator>(const VectorOfElements &a, const T &b)
VectorOfElements excerpt(const VectorOfElements &source, const VectorOfElements &filter)
VectorOfElements operator/(const T &b, const VectorOfElements &a)
VectorOfElements cat(const VectorOfElements &a, const VectorOfElements &b, const VectorOfElements &c)
VectorOfElements operator==(const VectorOfElements &a, const VectorOfElements &b)
VectorOfElements min(const VectorOfElements &a, const VectorOfElements &b)
VectorOfElements operator-(const T &a, const VectorOfElements &b)
VectorOfElements minAbs(const VectorOfElements &a, const VectorOfElements &b)
VectorOfElements operator%(const VectorOfElements &a, const VectorOfElements &b)
VectorOfElements operator<=(const VectorOfElements &a, const T &b)
VectorOfElements operator-(const VectorOfElements &a, const VectorOfElements &b)
VectorOfElements select(const VectorOfElements &a, const VectorOfElements &b, const VectorOfElements &c, TypeID t)
VectorOfElements operator*(const VectorOfElements &a, const T &b)
VectorOfElements copysign(const VectorOfElements &a, const VectorOfElements &b)
VectorOfElements powI(const VectorOfElements &a, unsigned int i)
VectorOfElements mad(const VectorOfElements &a, const VectorOfElements &b, const VectorOfElements &c)
VectorOfElements orOfElements(const VectorOfElements &a)
VectorOfElements andOfElements(const VectorOfElements &a)
VectorOfElements maxElement(const VectorOfElements &a)
VectorOfElements operator==(const VectorOfElements &a, const T &b)
VectorOfElements operator>(const T &b, const VectorOfElements &a)
VectorOfElements operator<=(const T &b, const VectorOfElements &a)
VectorOfElements operator<=(const VectorOfElements &a, const VectorOfElements &b)
VectorOfElements operator&&(const VectorOfElements &a, const VectorOfElements &b)
VectorOfElements operator>(const VectorOfElements &a, const VectorOfElements &b)
VectorOfElements operator/=(const VectorOfElements &a, const VectorOfElements &b)
VectorOfElements operator>=(const VectorOfElements &a, const T &b)
acl::TypeID type(acl::typeToTypeID< FlT >())
Advanced Computational Language.
shared_ptr< VectorOfElementsData > SPVectorOfElementsData
VectorOfElements l2(const VectorOfElements &a)
vector< Element > gcLength2(const VectorOfElements &a, const VectorOfElements &l2)
generates code corresponding . Result will be stored in l2
void copy(MemBlock &source, T *destination)
vector< Element > gcLength(const VectorOfElements &a, const VectorOfElements &l)
generates code corresponding . Result will be stored in l
vector< Element > gcNormalize(const VectorOfElements &a)
generates code corresponding
std::shared_ptr< MemBlock > ElementData
shared_ptr< VectorOfElements > SPVectorOfElements
std::shared_ptr< ElementBase > Element