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.
|Features||Arrays, Atomics, Barriers, Loop parallelisations, Quantified permissions, Statically-scoped locking, Statically-scoped parallelism|
|Path to example file||parallel/array_par.pvl|
|Lines of code||30 lines (comments not included)|
|Lines of specification||12 lines (40% of the total)|
|Computation time||38027 milliseconds|
Note, verification may take a while and has a time-out of 20 seconds.