acl::KernelMerger Class Reference
Advanced Computational Language » OpenCL Kernel Generation

OpenCl Kernel merger. More...

`#include <aclKernelMerger.h>`

## Public Member Functions

| KernelMerger ()
void | setup ()
void | compute ()
std::string | getKernelSource ()
void | clear ()
| removes all kernels More...
void | addKernel (SPKernel k)
void | addKernel (const KernelMerger &km)
unsigned int | getSize ()
| KernelMerger ()
void | setup ()
void | compute ()
std::string | getKernelSource ()
void | clear ()
| removes all kernels More...
void | addKernel (SPKernel k)
void | addKernel (const KernelMerger &km)
unsigned int | getSize ()

## Detailed Description

OpenCl Kernel merger.

The KernelMerger generates a big kernel containing differen kernels. The number of copies is a sum of all kernels and it realizes tree like "if" "else" structure in order to execute different kernels

Definition at line 45 of file aclKernelMerger.h.

## Constructor & Destructor Documentation

## KernelMerger() [1/2]

acl::KernelMerger::KernelMerger | ( |  | ) |

## KernelMerger() [2/2]

acl::KernelMerger::KernelMerger | ( |  | ) |

## Member Function Documentation

## addKernel() [1/4]

void acl::KernelMerger::addKernel | ( | const KernelMerger & | km | ) |

## addKernel() [2/4]

void acl::KernelMerger::addKernel | ( | const KernelMerger & | km | ) |

## addKernel() [3/4]

void acl::KernelMerger::addKernel | ( | SPKernel | k | ) |

## addKernel() [4/4]

void acl::KernelMerger::addKernel | ( | SPKernel | k | ) |

## clear() [1/2]

void acl::KernelMerger::clear | ( |  | ) |

removes all kernels

## clear() [2/2]

void acl::KernelMerger::clear | ( |  | ) |

removes all kernels

## compute() [1/2]

void acl::KernelMerger::compute | ( |  | ) |

## compute() [2/2]

void acl::KernelMerger::compute | ( |  | ) |

## getKernelSource() [1/2]

std::string acl::KernelMerger::getKernelSource | ( |  | ) |

## getKernelSource() [2/2]

std::string acl::KernelMerger::getKernelSource | ( |  | ) |

## getSize() [1/2]

unsigned int acl::KernelMerger::getSize | ( |  | ) |

## getSize() [2/2]

unsigned int acl::KernelMerger::getSize | ( |  | ) |

## setup() [1/2]

void acl::KernelMerger::setup | ( |  | ) |

## setup() [2/2]

void acl::KernelMerger::setup | ( |  | ) |

The documentation for this class was generated from the following file:

- /build/asl-1Fw6fH/asl-0.1.7/debian/tmp/usr/include/ASL/acl/Kernels/aclKernelMerger.h