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.
§ Kernel() [1/2]
§ Kernel() [2/2]
§ buildKernel() [1/2]
void acl::Kernel::buildKernel |
( |
| ) |
|
|
protected |
§ buildKernel() [2/2]
void acl::Kernel::buildKernel |
( |
| ) |
|
|
protected |
§ clear() [1/2]
void acl::Kernel::clear |
( |
| ) |
|
removes all expressions from the kernel
§ clear() [2/2]
void acl::Kernel::clear |
( |
| ) |
|
removes all expressions from the kernel
§ compute() [1/2]
void acl::Kernel::compute |
( |
| ) |
|
§ compute() [2/2]
void acl::Kernel::compute |
( |
| ) |
|
§ detectVectorWidth() [1/2]
cl_uint acl::Kernel::detectVectorWidth |
( |
| ) |
|
|
protected |
detects minimal vector width of all available types of Elements
§ detectVectorWidth() [2/2]
cl_uint acl::Kernel::detectVectorWidth |
( |
| ) |
|
|
protected |
detects minimal vector width of all available types of Elements
§ generateArguments() [1/2]
void acl::Kernel::generateArguments |
( |
| ) |
|
|
protected |
§ generateArguments() [2/2]
void acl::Kernel::generateArguments |
( |
| ) |
|
|
protected |
§ generateExpressions() [1/2]
void acl::Kernel::generateExpressions |
( |
| ) |
|
|
protected |
§ generateExpressions() [2/2]
void acl::Kernel::generateExpressions |
( |
| ) |
|
|
protected |
§ generateExtensions() [1/2]
void acl::Kernel::generateExtensions |
( |
| ) |
|
|
protected |
§ generateExtensions() [2/2]
void acl::Kernel::generateExtensions |
( |
| ) |
|
|
protected |
§ generateIndex() [1/2]
void acl::Kernel::generateIndex |
( |
| ) |
|
|
protected |
§ generateIndex() [2/2]
void acl::Kernel::generateIndex |
( |
| ) |
|
|
protected |
§ generateKernelSource() [1/2]
virtual void acl::Kernel::generateKernelSource |
( |
| ) |
|
|
protectedvirtual |
§ generateKernelSource() [2/2]
virtual void acl::Kernel::generateKernelSource |
( |
| ) |
|
|
protectedvirtual |
§ generateLocalDeclarations() [1/2]
void acl::Kernel::generateLocalDeclarations |
( |
| ) |
|
|
protected |
§ generateLocalDeclarations() [2/2]
void acl::Kernel::generateLocalDeclarations |
( |
| ) |
|
|
protected |
§ getConfiguration() [1/2]
§ getConfiguration() [2/2]
§ getGroupsNumber() [1/2]
unsigned int acl::Kernel::getGroupsNumber |
( |
| ) |
|
§ getGroupsNumber() [2/2]
unsigned int acl::Kernel::getGroupsNumber |
( |
| ) |
|
§ getKernel() [1/2]
const cl::Kernel& acl::Kernel::getKernel |
( |
| ) |
const |
§ getKernel() [2/2]
const cl::Kernel& acl::Kernel::getKernel |
( |
| ) |
const |
§ getKernelID() [1/2]
unsigned int acl::Kernel::getKernelID |
( |
| ) |
|
§ getKernelID() [2/2]
unsigned int acl::Kernel::getKernelID |
( |
| ) |
|
§ getKernelSource() [1/2]
std::string acl::Kernel::getKernelSource |
( |
| ) |
|
§ getKernelSource() [2/2]
std::string acl::Kernel::getKernelSource |
( |
| ) |
|
§ setGroupsNumber() [1/2]
void acl::Kernel::setGroupsNumber |
( |
unsigned int |
n | ) |
|
§ setGroupsNumber() [2/2]
void acl::Kernel::setGroupsNumber |
( |
unsigned int |
n | ) |
|
§ setKernelArguments() [1/2]
void acl::Kernel::setKernelArguments |
( |
| ) |
|
|
protected |
§ setKernelArguments() [2/2]
void acl::Kernel::setKernelArguments |
( |
| ) |
|
|
protected |
§ setup() [1/2]
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.
§ setup() [2/2]
void acl::Kernel::setup |
( |
| ) |
|
§ updateKernelConfiguration() [1/2]
void acl::Kernel::updateKernelConfiguration |
( |
| ) |
|
|
protected |
§ updateKernelConfiguration() [2/2]
void acl::Kernel::updateKernelConfiguration |
( |
| ) |
|
|
protected |
§ createKernels() [1/2]
creates n
kernels in vk
with configuration kernelConfig_
Definition at line 100 of file aclKernel.h.
§ createKernels() [2/2]
creates n
kernels in vk
with configuration kernelConfig_
Definition at line 100 of file aclKernel.h.
§ KernelMerger
§ SPKernel [1/2]
§ SPKernel [2/2]
§ SPKernelMerger [1/2]
§ SPKernelMerger [2/2]
§ groupsNumber
unsigned int acl::Kernel::groupsNumber |
|
protected |
§ id
unsigned int acl::Kernel::id |
|
protected |
§ kernel
§ kernelConfig
§ kernelNum
static unsigned int acl::Kernel::kernelNum |
|
staticprotected |
§ kernelSource
std::string acl::Kernel::kernelSource |
|
protected |
The documentation for this class was generated from the following files:
- /build/asl-UNu3wB/asl-0.1.7/debian/tmp/usr/include/ASL/acl/Kernels/aclKernel.h
- /build/asl-UNu3wB/asl-0.1.7/debian/tmp/usr/include/ASL/acl/Kernels/aclKernelMerger.h