#include <PSkelStencilTiling.h>
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 |
Class that performs the necessary calculations -- regarding the halo region, tile size, etc. -- for tiling stencil computations.
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.
[in] | iterations | number of iterations consecutively executed on the device (GPU). |
[in] | widthOffset | width offset for the logical tile region, considering the input and output arrays. |
[in] | heightOffset | height offset for the logical tile region, considering the input and output arrays. |
[in] | depthOffset | depth offset for the logical tile region, considering the input and output arrays. |
[in] | width | width of for the logical tile region. |
[in] | height | height of the logical tile region. |
[in] | depth | depth of the logical tile region. |