PSkel
 All Classes Files Functions
Public Member Functions | Public Attributes
PSkel::StencilTiling< Array, Mask > Class Template Reference

#include <PSkelStencilTiling.h>

List of all members.

Public Member Functions

 StencilTiling (Array in, Array out, Mask mask)
void tile (size_t iterations, size_t widthOffset, size_t heightOffset, size_t depthOffset, size_t width, size_t height, size_t depth)

Public Attributes

Mask mask
Array input
Array output
size_t iterations
size_t widthOffset
size_t heightOffset
size_t depthOffset
size_t width
size_t height
size_t depth
size_t coreWidthOffset
size_t coreHeightOffset
size_t coreDepthOffset
size_t coreWidth
size_t coreHeight
size_t coreDepth

Detailed Description

template<class Array, class Mask>
class PSkel::StencilTiling< Array, Mask >

Class that performs the necessary calculations -- regarding the halo region, tile size, etc. -- for tiling stencil computations.


Member Function Documentation

template<class Array, class Mask>
void PSkel::StencilTiling< Array, Mask >::tile ( size_t  iterations,
size_t  widthOffset,
size_t  heightOffset,
size_t  depthOffset,
size_t  width,
size_t  height,
size_t  depth 
) [inline]

Updates the stencil tiling information for the specified number of iterations and tile size.

Parameters:
[in]iterationsnumber of iterations consecutively executed on the device (GPU).
[in]widthOffsetwidth offset for the logical tile region, considering the input and output arrays.
[in]heightOffsetheight offset for the logical tile region, considering the input and output arrays.
[in]depthOffsetdepth offset for the logical tile region, considering the input and output arrays.
[in]widthwidth of for the logical tile region.
[in]heightheight of the logical tile region.
[in]depthdepth of the logical tile region.

The documentation for this class was generated from the following file:
 All Classes Files Functions