Synchronization Functions
Advanced Computational Language » Functions
Collaboration diagram for 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

## barrier()

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

Sets work-group barrier

Examples
  testASLData.cc, and testKernel.cc.

## syncCopy()

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.