OpenMP: Loop fusion

This verification example demonstrates how two loops that must be fused to be race free can be specified and verified.

General information

ID104
Articlenone
Back-endSilicon
LanguageOpenMP for C
FeaturesArrays, Iteration contracts, Pragmas, Quantified permissions
Sources
Path to example fileopenmp/add-spec.c
Date2017-06-20

Statistical information

Lines of code62 lines (comments not included)
Lines of specification15 lines (24.19% of the total)
Computation time27785 milliseconds

Example code

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