ASL  0.1.6
Advanced Simulation Library
Functions
Synchronization Functions

Functions

Element acl::elementOperators::syncCopy (Element source, Element destination, Element srcOffset, Element dstOffset, Element length)
 
Element acl::elementOperators::barrier (std::string flags="CLK_LOCAL_MEM_FENCE")
 

Detailed Description

Function Documentation

Element acl::elementOperators::barrier ( std::string  flags = "CLK_LOCAL_MEM_FENCE")

Sets work-group barrier

Examples:
testASLData.cc, and testKernel.cc.
Element acl::elementOperators::syncCopy ( Element  source,
Element  destination,
Element  srcOffset,
Element  dstOffset,
Element  length 
)

Synchronous copy: Global memory <-> Local memory

Examples:
testASLData.cc, and testKernel.cc.