|
| bool | isConstant (Element e) |
| |
| bool | isSingleValue (Element e) |
| | The function returns true when the input is a single valued object e.g. aclConstatnt, aclVariable. More...
|
| |
| bool | isMemBlock (Element e) |
| |
| template<typename T > |
| void | copy (MemBlock &source, T *destination) |
| |
| template<typename T > |
| void | copy (T *source, MemBlock &destination) |
| |
| template<typename T > |
| void | copy (MemBlock &source, std::vector< T > &destination) |
| |
| template<typename T > |
| void | copy (std::vector< T > &source, MemBlock &destination) |
| |
| template<typename T > |
| void | copy (MemBlock &source, MemBlock &destination) |
| |
| template<typename T > |
| void | copy (Element source, std::vector< T > &destination) |
| |
| template<typename T > |
| void | copy (std::vector< T > &source, Element destination) |
| |
| template<typename T > |
| void | copy (Element source, T *destination) |
| |
| template<typename T > |
| void | copy (T *source, Element destination) |
| |
| void | initData (Element a, Element initializationValue, const KernelConfiguration &kernelConfig=KERNEL_BASIC) |
| |
| Element | generateSubElement (Element, unsigned int size, int offset) |
| | function creates subElement with given length and offset; offset is constant More...
|
| |
| Element | generateSubElement (Element, unsigned int size, int *offset) |
| | function creates subElement with given length and offset; offset can be a variable More...
|
| |
| Element | generateSubElement (Element, unsigned int size, Element offset) |
| |
| Element | generateShiftedElement (Element, int offset) |
| |
| Element | generateShiftedElement (Element, int *offset) |
| |
| Element | generateShiftedElement (Element, Element offset) |
| |
| template<typename T > |
| void | swapBuffers (std::shared_ptr< Array< T > >a, std::shared_ptr< Array< T > > b) |
| |
| ElementData | generateElementArray (TypeID typeID, unsigned int size) |
| |
| ElementData | generateElementArray (TypeID typeID, unsigned int size, CommandQueue queue_) |
| |
| Element | generateElementLocalArray (TypeID typeID, unsigned int size) |
| |
| template<typename T > |
| VectorOfElements | generateVEConstant (T a) |
| | Generates VectorOfElements with 1 Element acl::Constant with value a. More...
|
| |
| template<typename T > |
| VectorOfElements | generateVEConstant (T a, T b) |
| | Generates VectorOfElements with 2 Elements acl::Constant with values a and b. More...
|
| |
| template<typename T > |
| VectorOfElements | generateVEConstant (T a, T b, T c) |
| | Generates VectorOfElements with 3 Elements acl::Constant with values a,b and c. More...
|
| |
| template<typename T > |
| VectorOfElements | generateVEConstantN (unsigned int n, T a) |
| | Generates VectorOfElements with n Elements acl::Constant with values a. More...
|
| |
| template<typename T > |
| VectorOfElements | generateVEConstant (unsigned int n, const T *const a) |
| | Generates VectorOfElements with n Elements acl::Constant with values a[i]. More...
|
| |
| template<typename T > |
| VectorOfElements | generateVEConstant (const std::vector< T > &a) |
| | Generates VectorOfElements with a.size() Elements acl::Constant with values a[i]. More...
|
| |
| template<typename T > |
| VectorOfElements | generateVEConstant (const asl::AVec< T > &a) |
| | Generates VectorOfElements correspondinng to a. More...
|
| |
| template<typename T > |
| MatrixOfElements | generateMEConstant (const asl::AMatr< T > &a) |
| | Generates VectorOfElements correspondinng to a. More...
|
| |
| template<typename T > |
| VectorOfElementsData | generateVEData (unsigned int length, unsigned int nComponents, CommandQueue queue) |
| | Generates VectorOfElements with nComponents Elements acl::Vector with size length. More...
|
| |
| template<typename T > |
| VectorOfElementsData | generateVEData (unsigned int length, unsigned int nComponents=1) |
| | Generates VectorOfElements with nComponents Elements acl::Vector with size length and default queue. More...
|
| |
| VectorOfElementsData | generateVEData (unsigned int length, TypeID typeID, unsigned int nComponents, CommandQueue queue) |
| | Generates VectorOfElementsData with nComponents Elements acl::Array of type with size length. More...
|
| |
| VectorOfElementsData | 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. More...
|
| |
| VectorOfElements | generateVELocalArray (unsigned int componentSize, TypeID typeID, unsigned int size) |
| | Generates VectorOfElements with size Elements acl::LocalArray of type typeID with size componentSize. More...
|
| |
| template<typename T > |
| VectorOfElements | generateVEPrivateArray (const vector< T > &data) |
| | Generates VectorOfElements with size Elements acl::PrivateArray of type with data defined by data. More...
|
| |
| template<typename T > |
| VectorOfElements | generateVEPrivateArray (const vector< asl::AVec< T >> &data) |
| | Generates VectorOfElements with size Elements acl::PrivateArray of type with data defined by data. More...
|
| |
| template<typename T > |
| VectorOfElements | generateVEPrivateArray (const vector< T > &data, TypeID typeID) |
| | Generates VectorOfElements with size Elements acl::PrivateArray of type with size componentSize. More...
|
| |
| template<typename T > |
| VectorOfElements | generateVEPrivateArray (const vector< asl::AVec< T >> &data, TypeID typeID) |
| | Generates VectorOfElements with size Elements acl::PrivateArray of type with size componentSize. More...
|
| |
| template<typename T > |
| VectorOfElements | 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. More...
|
| |
| template<typename T > |
| VectorOfElements | generateVEVariableR (T &a) |
| | Generates VectorOfElements with 1 Element acl::VariableReference with reference on a. More...
|
| |
| template<typename T > |
| VectorOfElements | generateVEVariableR (T &a, T &b) |
| | Generates VectorOfElements with 2 Element acl::VariableReference with references on a and b. More...
|
| |
| template<typename T > |
| VectorOfElements | generateVEVariableR (T &a, T &b, T &c) |
| | Generates VectorOfElements with 3 Element acl::VariableReference with references on a, b and c. More...
|
| |
| template<typename T > |
| VectorOfElements | generateVEVariableR (asl::AVec< T > &a) |
| | Generates VectorOfElements with nD(a) Element acl::VariableReference with reference on a[i]. More...
|
| |
| template<typename T > |
| VectorOfElements | generateVEVariableSP (std::shared_ptr< T > a) |
| | Generates VectorOfElements with 1 Element acl::VariableReference with reference on a. More...
|
| |
| template<typename T > |
| VectorOfElements | generateVEVariableSP (std::shared_ptr< T > a, std::shared_ptr< T > b) |
| | Generates VectorOfElements with 2 Element acl::VariableReference with references on a and b. More...
|
| |
| template<typename T > |
| VectorOfElements | 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. More...
|
| |
| template<typename T > |
| VectorOfElements | generateVEVariableSP (std::shared_ptr< asl::AVec< T >> a) |
| | Generates VectorOfElements with nD(a) Element acl::VariableReference with reference on a[i]. More...
|
| |
| template<typename T > |
| VectorOfElements | generateVEPrivateVariable (unsigned int n) |
| | Generates VectorOfElements with n Element of acl::PrivateVariable. More...
|
| |
| VectorOfElements | generateVEPrivateVariable (unsigned int n, TypeID t) |
| | Generates VectorOfElements with n Element of acl::PrivateVariable with type t. More...
|
| |
| MatrixOfElements | generateMEPrivateVariable (unsigned int nR, unsigned int nC, TypeID t) |
| | Generates VectorOfElements with n Element of acl::PrivateVariable with type t. More...
|
| |
| VectorOfElements | generateVESubElements (VectorOfElements a, unsigned int length, int offset) |
| | Generates VectorOfElements which contains SubElements of the corresponding element of a. More...
|
| |
| VectorOfElements | generateVESubElements (VectorOfElements a, unsigned int length, VectorOfElements offset) |
| | Generates VectorOfElements which contains SubElements of the corresponding element of a. More...
|
| |
| VectorOfElements | generateVEShftedElements (VectorOfElements a, int offset) |
| | Generates VectorOfElements which contains SubElements of the corresponding element of a. More...
|
| |
| VectorOfElements | generateVEShftedElements (VectorOfElements a, const std::vector< int > &offset) |
| | Generates VectorOfElements which contains SubElements of the corresponding element of a. More...
|
| |
| VectorOfElements | generateVEShiftedElements (VectorOfElements a, VectorOfElements offset) |
| | Generates VectorOfElements which contains SubElements of the corresponding element of a. More...
|
| |
| VectorOfElements | generateVEPolynom (VectorOfElements x, VectorOfElements coefs) |
| |
| VectorOfElements | generateParsedVE (const VectorOfElements &fields, const vector< string > &names, const string &statement) |
| |
| template<typename T = int> |
| MatrixOfElements | generateMEUnit (unsigned int n) |
| |
| MatrixOfElements | generateMEDiagonal (const VectorOfElements &d) |
| |
| MatrixOfElements | generateMEGivensRotation (unsigned int k, unsigned int l, const VectorOfElements &sc) |
| |
| template<typename T > |
| VectorOfElements | indexDependedConstant (vector< unsigned int > r, vector< T > values) |
| |
| VectorOfElements | generateVEIndex (unsigned int size=0) |
| |
| VectorOfElements | generateVEGroupID () |
| |
| VectorOfElements | generateVEIndexExt (unsigned int size=0) |
| |
| std::string | getPlatformVendor (const CommandQueue &queue) |
| |
| std::string | getDeviceName (const CommandQueue &queue) |
| |
| std::string | getDeviceVersion (const CommandQueue &queue) |
| |
| cl_device_type | getDeviceType (const CommandQueue &queue) |
| |
| cl_uint | getNComputeUnits (const CommandQueue &queue) |
| |
| cl::Device | getDevice (const CommandQueue &queue) |
| |
| cl::Context | getContext (const CommandQueue &queue) |
| |
| unsigned int | getAlignment (const CommandQueue &queue) |
| |
| cl_device_local_mem_type | getLocalMemoryType (const CommandQueue &queue) |
| |
| cl_ulong | getLocalMemorySize (const CommandQueue &queue) |
| |
| size_t | getMaxItemSize (const CommandQueue &queue) |
| |
| cl_uint | getVectorWidth (const CommandQueue &queue, const TypeID typeID) |
| |
| bool | extensionAvailable (const CommandQueue &queue, const Extension extension) |
| |
| cl_device_fp_config | doublePrecisionSupport (const CommandQueue &queue) |
| |
| cl_ulong | getKernelLocalMemSize (const Kernel &kernel) |
| |
| cl_ulong | getKernelPrivateMemSize (const Kernel &kernel) |
| |
| void | findNearestDirectionCode (const vector< asl::AVec<>> &directions, VectorOfElements v, VectorOfElements iDir, ExpressionContainer &k) |
| | generates code for finding nearest direction from given directions set directions More...
|
| |
| void | findNearestDirectionCode (const vector< asl::AVec<>> &directions, VectorOfElements v, VectorOfElements iDir, VectorOfElements scalProduct, ExpressionContainer &k) |
| | generates code for finding nearest direction from given directions set directions More...
|
| |
| VectorOfElements | differentSign (VectorOfElements v) |
| | generate expresion returning true if elements of v have different signs or one of them zerow More...
|
| |
| VectorOfElements | generateVEOutOfBoundarySafe (const VectorOfElements &a) |
| | generates Vector of elements wraping the a in order to avoid out of boundary acces More...
|
| |
| VectorOfElements | generateVEOutOfBoundarySafe (const VectorOfElements &a, const VectorOfElements &outVal) |
| | generates Vector of elements wraping the a in order to avoid out of boundary acces with given out of boundary value More...
|
| |
| VectorOfElements | solveSystem (const MatrixOfElements &a, const VectorOfElements &b) |
| | returns solution of a system of linear equations More...
|
| |
| vector< Element > | gcSolveSystem (const MatrixOfElements &a, const VectorOfElements &b, const VectorOfElements &x) |
| | generates code for solving the solution of a system of linear equations More...
|
| |
| vector< Element > | gcSolveSystemCG (const MatrixOfElements &a, const VectorOfElements &b, const VectorOfElements &x) |
| | generates code for solving the solution of a system of linear equations More...
|
| |
| QuaternionOfElements | normalize (QuaternionOfElements &a) |
| |
| template<typename ResType > |
| std::shared_ptr< ReductionAlgGenerator< ResType, ROT_SUM > > | generateSumAlg (VectorOfElements v) |
| |
| template<typename ResType > |
| std::shared_ptr< ReductionAlgGenerator< ResType, ROT_MINIMUM > > | generateMinAlg (VectorOfElements v) |
| |
| template<typename ResType > |
| std::shared_ptr< ReductionAlgGenerator< ResType, ROT_MAXIMUM > > | generateMaxAlg (VectorOfElements v) |
| |
| template<typename ResType > |
| std::shared_ptr< ReductionAlgGenerator< ResType, ROT_PRODUCT > > | generateProductAlg (VectorOfElements v) |
| |
| bool | compatibleSizes (unsigned int s, const VectorOfElements &a) |
| |
| vector< Element > | gcNormalize (const VectorOfElements &a) |
| | generates code corresponding \( \vec a /= |\vec a|\) More...
|
| |
| vector< Element > | gcLength2 (const VectorOfElements &a, const VectorOfElements &l2) |
| | generates code corresponding \( |\vec a|^2 \). Result will be stored in l2 More...
|
| |
| vector< Element > | gcLength (const VectorOfElements &a, const VectorOfElements &l) |
| | generates code corresponding \( |\vec a| \). Result will be stored in l More...
|
| |
| VectorOfElements | l2 (const VectorOfElements &a) |
| |
| bool | compatible (unsigned int size1, CommandQueue queue1, unsigned int size2, CommandQueue queue2) |
| |
| bool | compatible (unsigned int size, CommandQueue queue, Element e) |
| |
| bool | compatible (Element e1, Element e2) |
| |
| bool | compatibleSizes (unsigned int s1, unsigned int s2) |
| | if s and size of e are the same or at least one of them is 0 More...
|
| |
| bool | compatibleSizes (Element e1, Element e2) |
| | if both elements have the same size or size of at least one of them is 0 More...
|
| |
| bool | compatibleSizes (unsigned int s, Element e) |
| | if s and size of e are the same or at least one of them is 0 More...
|
| |
| unsigned int | paddingBytes (unsigned int size, unsigned int typeSize, CommandQueue queue) |
| | Adds padding in bytes based on the device's alignment. More...
|
| |
| unsigned int | paddingElements (unsigned int size, const KernelConfiguration &kernelConfig) |
| | Adds padding in elements based on vector width. More...
|
| |
| bool | onSameDevice (CommandQueue queue1, CommandQueue queue2) |
| | checks whether both elements reside on the same device More...
|
| |
| bool | onSameDevice (CommandQueue queue, Element e) |
| |
| bool | onSameDevice (Element e1, Element e2) |
| |
| bool | isDeclarable (Element e) |
| |
| bool | isArgument (Element e) |
| |
| void | addElementToKernelSource (Element e, std::vector< Element > &arguments, std::vector< Element > &localDeclarations) |
| | adds e either to arguments or to localDeclarations More...
|
| |
| template<typename T > |
| const std::string & | typeToStr () |
| |
| template<typename T > |
| const std::string | typeToStr (unsigned int i) |
| |
| template<typename T > |
| constexpr const TypeID | typeToTypeID () |
| |
| template<> |
| constexpr const TypeID | typeToTypeID< cl_double > () |
| |
| template<> |
| constexpr const TypeID | typeToTypeID< cl_float > () |
| |
| template<> |
| constexpr const TypeID | typeToTypeID< cl_int > () |
| |
| template<> |
| constexpr const TypeID | typeToTypeID< cl_uint > () |
| |
| template<> |
| constexpr const TypeID | typeToTypeID< cl_long > () |
| |
| void | swapBuffers (MemBlock &a, MemBlock &b) |
| |
| template<typename T > |
| std::shared_ptr< T > | map (ElementData m) |
| |
| void | createKernels (std::vector< SPKernel > &vk, unsigned int n, const KernelConfiguration &kernelConfig_) |
| |
| void | copy (const vector< Element > &source, VectorOfElements &destination) |
| |
| void | copy (const VectorOfElementsData &source, VectorOfElementsData &destination) |
| |