ASL  0.1.7
Advanced Simulation Library
Functions
Data utilities
Collaboration diagram for Data utilities:

Functions

acl::VectorOfElements asl::uploadToLocalMem (AbstractData &source, const AVec< int > &size, unsigned int groupSize, acl::Kernel &kernel)
 
SPDataWrapperACL asl::generateSubData (SPDataWrapperACL d, AVec< int > a, AVec< int > b)
 generates DataWraper with points placed inside a widow More...
 
SPDataWithGhostNodesACLData asl::coarseData (SPDataWithGhostNodesACLData d)
 
SPDataWithGhostNodesACLData asl::clipData (SPDataWithGhostNodesACLData d, AVec< int > a0, AVec< int > aE)
 

Detailed Description

Function Documentation

◆ clipData()

SPDataWithGhostNodesACLData asl::clipData ( SPDataWithGhostNodesACLData  d,
AVec< int >  a0,
AVec< int >  aE 
)
inline

Definition at line 128 of file aslDataResampling.h.

◆ coarseData()

Definition at line 119 of file aslDataResampling.h.

◆ generateSubData()

SPDataWrapperACL asl::generateSubData ( SPDataWrapperACL  d,
AVec< int >  a,
AVec< int >  b 
)

generates DataWraper with points placed inside a widow

Parameters
athe point corresponding to 0 coner
bthe point corresponding to diagonal to 0 one coner
Todo:
errorMessages

◆ uploadToLocalMem()

acl::VectorOfElements asl::uploadToLocalMem ( AbstractData source,
const AVec< int > &  size,
unsigned int  groupSize,
acl::Kernel kernel 
)

Uploads source from global to local memory in portion defined by size with group size groupSize. Returns destination (local VectorOfElements).

Examples
testASLData.cc.