Barrier with atomics

This simple PVL program contains a parallel for-loop with a barrier to redistribute permissions and an atomic increase of an integer.

General information

ID115
Articlenone
Back-endSilicon
LanguagePVL
FeaturesArrays, Atomics, Barriers, Loop parallelisations, Quantified permissions, Statically-scoped locking, Statically-scoped parallelism
Sources
Path to example fileparallel/array_par.pvl
Date2017-06-20

Statistical information

Lines of code30 lines (comments not included)
Lines of specification12 lines (40% of the total)
Computation time38027 milliseconds

Example code

Note, verification may take a while and has a time-out of 20 seconds.