ASL
0.1.7
Advanced Simulation Library
|
Go to the documentation of this file.
48 class Kernel:
public ExpressionContainer
105 for (
unsigned int i(0); i < n; ++i)
107 vk[i].reset(
new Kernel(kernelConfig_));
119 #endif // ACLKERNEL_H
const KernelConfiguration & getConfiguration() const
KernelConfiguration kernelConfig
void setKernelArguments()
void clear()
removes all expressions from the kernel
Class interface for cl_kernel.
virtual void generateKernelSource()
const KernelConfiguration & getConfiguration() const
unsigned int getKernelID()
void generateExtensions()
const cl::Kernel & getKernel() const
ACL Kernel configuration class.
void setGroupsNumber(unsigned int n)
static unsigned int kernelNum
Kernel(const KernelConfiguration kernelConfig_=KERNEL_BASIC)
void generateLocalDeclarations()
void generateExpressions()
unsigned int getGroupsNumber()
void createKernels(std::vector< SPKernel > &vk, unsigned int n, const KernelConfiguration &kernelConfig_)
void updateKernelConfiguration()
unsigned int groupsNumber
std::string getKernelSource()
cl_uint detectVectorWidth()
detects minimal vector width of all available types of Elements
const KernelConfiguration KERNEL_BASIC
Advanced Computational Language.
std::shared_ptr< Kernel > SPKernel