1.23
2.0
main
test-branch
|
Last change
on this file since e7597e1 was 7b92a9d, checked in by Manchun Zheng <zmanchun@…>, 11 years ago |
|
make model builder inserts $elaborate_rectangular_domain automatically for $for and $parfor;
fixed MPI/CUDA transformers so that they won't insert $elaborate calls;
added library functions for supporting $elaborate_rectangular_domain;
cleaned examples and tests.
git-svn-id: svn://vsl.cis.udel.edu/civl/trunk@2500 fb995dde-84ed-4084-dfe6-e5aef3e2452c
|
-
Property mode
set to
100644
|
|
File size:
210 bytes
|
| Line | |
|---|
| 1 | #include<civlc.cvh>
|
|---|
| 2 | #include<stdio.h>
|
|---|
| 3 |
|
|---|
| 4 | $input int X,Y;
|
|---|
| 5 | int Z=5;
|
|---|
| 6 |
|
|---|
| 7 | int main(){
|
|---|
| 8 | _Bool b;
|
|---|
| 9 |
|
|---|
| 10 | b=$is_concrete_int(X);
|
|---|
| 11 | $assert(!b);
|
|---|
| 12 | b=$is_concrete_int(Y);
|
|---|
| 13 | $assert(!b);
|
|---|
| 14 | b=$is_concrete_int(Z);
|
|---|
| 15 | $assert(b);
|
|---|
| 16 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.