Stencil.
More...
#include <stencil.hpp>
Inherits stencil_base< T >.
|
| | stencil (const std::vector< cl::CommandQueue > &queue, const std::vector< T > &st, uint center) |
| | Costructor. More...
|
| |
| template<class Iterator > |
| | stencil (const std::vector< cl::CommandQueue > &queue, Iterator begin, Iterator end, uint center) |
| | Costructor. More...
|
| |
| | stencil (const std::vector< cl::CommandQueue > &queue, std::initializer_list< T > list, uint center) |
| | Costructor. More...
|
| |
| void | convolve (const vex::vector< T > &x, vex::vector< T > &y, T alpha=0, T beta=1) const |
| | Convolve stencil with a vector. More...
|
| |
template<typename T>
class vex::stencil< T >
Stencil.
Should be used for stencil convolutions with vex::vectors as in
Stencil should be small enough to fit into local memory of all compute devices it resides on.
template<typename T>
| vex::stencil< T >::stencil |
( |
const std::vector< cl::CommandQueue > & |
queue, |
|
|
const std::vector< T > & |
st, |
|
|
uint |
center |
|
) |
| |
|
inline |
Costructor.
- Parameters
-
| queue | vector of queues. Each queue represents one compute device. |
| st | vector holding stencil values. |
| center | center of the stencil. |
template<typename T>
template<class Iterator >
| vex::stencil< T >::stencil |
( |
const std::vector< cl::CommandQueue > & |
queue, |
|
|
Iterator |
begin, |
|
|
Iterator |
end, |
|
|
uint |
center |
|
) |
| |
|
inline |
Costructor.
- Parameters
-
| queue | vector of queues. Each queue represents one compute device. |
| begin | iterator to begin of sequence holding stencil data. |
| end | iterator to end of sequence holding stencil data. |
| center | center of the stencil. |
template<typename T>
| vex::stencil< T >::stencil |
( |
const std::vector< cl::CommandQueue > & |
queue, |
|
|
std::initializer_list< T > |
list, |
|
|
uint |
center |
|
) |
| |
|
inline |
Costructor.
- Parameters
-
| queue | vector of queues. Each queue represents one compute device. |
| list | intializer list holding stencil values. |
| center | center of the stencil. |
The documentation for this class was generated from the following file: