diff options
author | Tuowen Zhao <ztuowen@gmail.com> | 2016-09-19 11:52:51 -0600 |
---|---|---|
committer | Tuowen Zhao <ztuowen@gmail.com> | 2016-09-19 11:52:51 -0600 |
commit | 372c92e7c1901dd7bdd1d2fd48bff205c31dca2d (patch) | |
tree | 439073a6481f50b26e2e881999cc568619628987 /omegalib/examples/floor_bound | |
parent | 62f7acd88465f4f20b9b25c3f7edd4e3b7ce453b (diff) | |
download | chill-372c92e7c1901dd7bdd1d2fd48bff205c31dca2d.tar.gz chill-372c92e7c1901dd7bdd1d2fd48bff205c31dca2d.tar.bz2 chill-372c92e7c1901dd7bdd1d2fd48bff205c31dca2d.zip |
remove omegacalc as subproject
Diffstat (limited to 'omegalib/examples/floor_bound')
-rw-r--r-- | omegalib/examples/floor_bound | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/omegalib/examples/floor_bound b/omegalib/examples/floor_bound deleted file mode 100644 index 3cb0d57..0000000 --- a/omegalib/examples/floor_bound +++ /dev/null @@ -1,46 +0,0 @@ -# -# Test floor/ceiling variable definitions in loop bounds -# Notes: -# intFloor, intCeil are strict mathematical definition, -# intMod(a,b) always has input b>0 and returns [0,b). -# - -symbolic m, n; - -# loop is strided -# -is := {[i]: exists (alpha: i = 4alpha && m <= 3i <= n)}; -codegen is; - -# only one single floor/ceiling variable in bound -# -is := {[i]: exists (lb: m-4 < 4*lb <= m && lb <= i <= n)}; -codegen is; - -# the floor/ceiling variable in bound has coefficient -# -is := {[i]: exists (lb: m-4 < 4*lb <= m && 4*lb <= i <= n)}; -codegen is; - -# mutiple floor/ceiling variables in bound -# -is := {[i]:exists (alpha,beta: m-4<4alpha<=m && m-3<3beta<=m && - 4alpha+3*beta<=i<=n )}; -codegen is; - -# non-tight floor/ceiling definition -# -is := {[i]: exists (ub: n-2 < 3*ub <= n && m <= i <= 5*ub)}; -codegen is; - -# chain floor/ceiling definitions -# -is := {[i]: exists (alpha, beta: beta-4<4alpha<=beta && - m-8<8beta<=m && 4alpha<=i<=n )}; -codegen is; - -# one complicated case -# -is := {[i]: exists (alpha, beta: beta-4<4alpha<=beta && - m-7<8beta<=m && 4alpha<=i<=n )}; -codegen is; |