ASL
0.1.7
Advanced Simulation Library
|
realizes convert_
functionality
More...
#include <aclElementConvert.h>
Public Member Functions | |
ElementConvert (Element a, TypeID type, bool strong=true) | |
virtual string | str (const KernelConfiguration &kernelConfig) const |
![]() | |
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 |
![]() | |
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 | |
![]() | |
const bool | isWritable |
![]() | |
OperatorUnary (Element a) | |
OperatorUnary (Element a, TypeID type) | |
![]() | |
ElementBase (bool isWritable_, unsigned int size_, TypeID typeID_) | |
![]() | |
Element | e |
![]() | |
unsigned int | size |
TypeID | typeID |
CommandQueue | queue |
realizes convert_
functionality
The element generates code corresponding to convert function with an apropriate vector index.
The strong
parameter defines the form of the operator: convert_ in case of true
or (type) in case of false
Definition at line 41 of file aclElementConvert.h.
|
virtual |
Implements acl::ElementBase.