source: CIVL/examples/omp/symb_dom.cvl

main
Last change on this file was 1aaefd4, checked in by Wenhao Wu <wuwenhao@…>, 3 years ago

Add the declaration of the system function $elaborate_domain to civlc.cvh and call it in $omp_arrive_loop,
so that the domain can be concrete before iterating.
Also, add an exception handling in CommonSymbolicUtility in case a symbolic domain is iterated.

git-svn-id: svn://vsl.cis.udel.edu/civl/trunk@5754 fb995dde-84ed-4084-dfe6-e5aef3e2452c

  • Property mode set to 100644
File size: 131 bytes
Line 
1$input int N;
2$assume(1 <= N && N <= 2);
3int a[2];
4int main() {
5#pragma omp parallel for
6 for (int i=0; i<N; i++)
7 a[i] = 1;
8}
Note: See TracBrowser for help on using the repository browser.