OpenCl Kernel generator.
More...
#include <aclKernel.h>
OpenCl Kernel generator.
- Note:
- The kernel can be run without updating of parameters. This possibility can lead to some optimization. to realize this possibility the function
computeWithoutUpdate
can be added
- Examples:
- testASLData.cc, testKernel.cc, testKernelMerger.cc, testMatrixOfElements.cc, testOperators.cc, testPrivateVar.cc, and testVectorOfElements.cc.
Definition at line 48 of file aclKernel.h.
§ Kernel()
§ buildKernel()
void acl::Kernel::buildKernel |
( |
| ) |
|
|
protected |
§ clear()
void acl::Kernel::clear |
( |
| ) |
|
removes all expressions from the kernel
§ compute()
void acl::Kernel::compute |
( |
| ) |
|
§ detectVectorWidth()
cl_uint acl::Kernel::detectVectorWidth |
( |
| ) |
|
|
protected |
detects minimal vector width of all available types of Elements
§ generateArguments()
void acl::Kernel::generateArguments |
( |
| ) |
|
|
protected |
§ generateExpressions()
void acl::Kernel::generateExpressions |
( |
| ) |
|
|
protected |
§ generateExtensions()
void acl::Kernel::generateExtensions |
( |
| ) |
|
|
protected |
§ generateIndex()
void acl::Kernel::generateIndex |
( |
| ) |
|
|
protected |
§ generateKernelSource()
virtual void acl::Kernel::generateKernelSource |
( |
| ) |
|
|
protectedvirtual |
§ generateLocalDeclarations()
void acl::Kernel::generateLocalDeclarations |
( |
| ) |
|
|
protected |
§ getConfiguration()
§ getGroupsNumber()
unsigned int acl::Kernel::getGroupsNumber |
( |
| ) |
|
§ getKernel()
const cl::Kernel& acl::Kernel::getKernel |
( |
| ) |
const |
§ getKernelID()
unsigned int acl::Kernel::getKernelID |
( |
| ) |
|
§ getKernelSource()
std::string acl::Kernel::getKernelSource |
( |
| ) |
|
§ setGroupsNumber()
void acl::Kernel::setGroupsNumber |
( |
unsigned int |
n | ) |
|
§ setKernelArguments()
void acl::Kernel::setKernelArguments |
( |
| ) |
|
|
protected |
§ setup()
void acl::Kernel::setup |
( |
| ) |
|
§ updateKernelConfiguration()
void acl::Kernel::updateKernelConfiguration |
( |
| ) |
|
|
protected |
§ createKernels()
creates n
kernels in vk
with configuration kernelConfig_
Definition at line 100 of file aclKernel.h.
§ KernelMerger
§ SPKernel
§ SPKernelMerger
§ groupsNumber
unsigned int acl::Kernel::groupsNumber |
|
protected |
§ id
unsigned int acl::Kernel::id |
|
protected |
§ kernel
§ kernelConfig
§ kernelNum
unsigned int acl::Kernel::kernelNum |
|
staticprotected |
§ kernelSource
std::string acl::Kernel::kernelSource |
|
protected |
The documentation for this class was generated from the following files: