acl::ElementMad Class Reference

The class is realization of the `mad` operation. More...

`#include <aclElementMad.h>`

Inheritance diagram for acl::ElementMad:
[legend]
Collaboration diagram for acl::ElementMad:
[legend]

## Public Member Functions

| ElementMad (Element a1, Element a2, Element a3)
virtual string | str (const KernelConfiguration &kernelConfig) const
| ElementMad (Element a1, Element a2, Element a3)
virtual string | str (const KernelConfiguration &kernelConfig) const
Public Member Functions inherited from acl::OperatorTernary
| OperatorTernary (Element a1, Element a2, Element a3)
virtual string | getName () const
virtual string | getTypeSignature (const KernelConfiguration &kernelConfig) const
virtual string | getLocalDeclaration (const KernelConfiguration &kernelConfig) const
virtual void | addToKernelSource (vector< Element > &arguments, vector< Element > &localDeclarations) const
virtual void | setAsArgument (cl::Kernel &kernel, unsigned int argumentIndex) const
| OperatorTernary (Element a1, Element a2, Element a3)
virtual string | getName () const
virtual string | getTypeSignature (const KernelConfiguration &kernelConfig) const
virtual string | getLocalDeclaration (const KernelConfiguration &kernelConfig) const
virtual void | addToKernelSource (vector< Element > &arguments, vector< Element > &localDeclarations) const
virtual void | setAsArgument (cl::Kernel &kernel, unsigned int argumentIndex) const
Public Member Functions inherited from acl::ElementBase
virtual string | getAddressSpaceQualifier () const
unsigned int | getSize () const
CommandQueue | getQueue () const
TypeID | getTypeID () const
virtual void | addToKernelSource (vector< shared_ptr< ElementBase > > &arguments, vector< shared_ptr< ElementBase > > &localDeclarations) const =0
| Adds ElementBase to the kernel source either as an argument or as a local declaration. More...
virtual | ~ElementBase ()
virtual string | getAddressSpaceQualifier () const
unsigned int | getSize () const
CommandQueue | getQueue () const
TypeID | getTypeID () const
virtual void | addToKernelSource (vector< shared_ptr< ElementBase > > &arguments, vector< shared_ptr< ElementBase > > &localDeclarations) const =0
| Adds ElementBase to the kernel source either as an argument or as a local declaration. More...
virtual | ~ElementBase ()

## Additional Inherited Members

Public Attributes inherited from acl::ElementBase
const bool | isWritable
Protected Member Functions inherited from acl::ElementBase
| ElementBase (bool isWritable_, unsigned int size_, TypeID typeID_)
| ElementBase (bool isWritable_, unsigned int size_, TypeID typeID_)
Protected Attributes inherited from acl::OperatorTernary
Element | e1
Element | e2
Element | e3
Protected Attributes inherited from acl::ElementBase
unsigned int | size
TypeID | typeID
CommandQueue | queue

## Detailed Description

The class is realization of the `mad` operation.

For a scalar type, result = a1 * a2 +a3

Definition at line 33 of file aclElementMad.h.

## Constructor & Destructor Documentation

## ElementMad() [1/2]

acl::ElementMad::ElementMad | ( | Element | a1,
|  | Element | a2,
|  | Element | a3
| ) |  |

## ElementMad() [2/2]

acl::ElementMad::ElementMad | ( | Element | a1,
|  | Element | a2,
|  | Element | a3
| ) |  |

## Member Function Documentation

## str() [1/2]

virtual string acl::ElementMad::str | ( | const KernelConfiguration & | kernelConfig | ) | const

virtual

Implements acl::ElementBase.

## str() [2/2]

virtual string acl::ElementMad::str | ( | const KernelConfiguration & | kernelConfig | ) | const

virtual

Implements acl::ElementBase.

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

- /build/asl-1Fw6fH/asl-0.1.7/debian/tmp/usr/include/ASL/acl/Operators/aclElementMad.h