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
- 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.
void acl::Kernel::buildKernel |
( |
| ) |
|
|
protected |
void acl::Kernel::buildKernel |
( |
| ) |
|
|
protected |
void acl::Kernel::clear |
( |
| ) |
|
removes all expressions from the kernel
void acl::Kernel::clear |
( |
| ) |
|
removes all expressions from the kernel
void acl::Kernel::compute |
( |
| ) |
|
void acl::Kernel::compute |
( |
| ) |
|
cl_uint acl::Kernel::detectVectorWidth |
( |
| ) |
|
|
protected |
detects minimal vector width of all available types of Elements
cl_uint acl::Kernel::detectVectorWidth |
( |
| ) |
|
|
protected |
detects minimal vector width of all available types of Elements
void acl::Kernel::generateArguments |
( |
| ) |
|
|
protected |
void acl::Kernel::generateArguments |
( |
| ) |
|
|
protected |
void acl::Kernel::generateExpressions |
( |
| ) |
|
|
protected |
void acl::Kernel::generateExpressions |
( |
| ) |
|
|
protected |
void acl::Kernel::generateExtensions |
( |
| ) |
|
|
protected |
void acl::Kernel::generateExtensions |
( |
| ) |
|
|
protected |
void acl::Kernel::generateIndex |
( |
| ) |
|
|
protected |
void acl::Kernel::generateIndex |
( |
| ) |
|
|
protected |
virtual void acl::Kernel::generateKernelSource |
( |
| ) |
|
|
protectedvirtual |
virtual void acl::Kernel::generateKernelSource |
( |
| ) |
|
|
protectedvirtual |
void acl::Kernel::generateLocalDeclarations |
( |
| ) |
|
|
protected |
void acl::Kernel::generateLocalDeclarations |
( |
| ) |
|
|
protected |
unsigned int acl::Kernel::getGroupsNumber |
( |
| ) |
|
unsigned int acl::Kernel::getGroupsNumber |
( |
| ) |
|
const cl::Kernel& acl::Kernel::getKernel |
( |
| ) |
const |
const cl::Kernel& acl::Kernel::getKernel |
( |
| ) |
const |
unsigned int acl::Kernel::getKernelID |
( |
| ) |
|
unsigned int acl::Kernel::getKernelID |
( |
| ) |
|
std::string acl::Kernel::getKernelSource |
( |
| ) |
|
std::string acl::Kernel::getKernelSource |
( |
| ) |
|
void acl::Kernel::setGroupsNumber |
( |
unsigned int |
n | ) |
|
void acl::Kernel::setGroupsNumber |
( |
unsigned int |
n | ) |
|
void acl::Kernel::setKernelArguments |
( |
| ) |
|
|
protected |
void acl::Kernel::setKernelArguments |
( |
| ) |
|
|
protected |
void acl::Kernel::setup |
( |
| ) |
|
Prepares kernel for launch. Should always be called before compute() after all expressions are added. Generates kernel source, builds kernel and sets its arguments.
void acl::Kernel::setup |
( |
| ) |
|
void acl::Kernel::updateKernelConfiguration |
( |
| ) |
|
|
protected |
void acl::Kernel::updateKernelConfiguration |
( |
| ) |
|
|
protected |
creates n
kernels in vk
with configuration kernelConfig_
Definition at line 100 of file aclKernel.h.
creates n
kernels in vk
with configuration kernelConfig_
Definition at line 100 of file aclKernel.h.
unsigned int acl::Kernel::groupsNumber |
|
protected |
unsigned int acl::Kernel::id |
|
protected |
static unsigned int acl::Kernel::kernelNum |
|
staticprotected |
std::string acl::Kernel::kernelSource |
|
protected |
The documentation for this class was generated from the following files:
- /build/asl-cIsmox/asl-0.1.6/debian/tmp/usr/include/ASL/acl/Kernels/aclKernel.h
- /build/asl-cIsmox/asl-0.1.6/debian/tmp/usr/include/ASL/acl/Kernels/aclKernelMerger.h