Permalink
Browse files

Upgrade isl, realize removal of Div.

  • Loading branch information...
1 parent 41c9ff3 commit 30909ff723c7a37d0d55b1e9a0d6457d7b222463 @inducer committed Sep 18, 2011
Showing with 11 additions and 16 deletions.
  1. +3 −1 doc/index.rst
  2. +2 −0 doc/misc.rst
  3. +0 −6 doc/reference.rst
  4. +1 −2 gen_wrap.py
  5. +1 −1 isl
  6. +4 −4 islpy/__init__.py
  7. +0 −2 src/wrapper/wrap_isl.cpp
View
@@ -34,7 +34,9 @@ bounds on piecewise step-polynomials.
2011.2. If you would like to use the software that's described here, get a
current checkout from `github <http://github.com/inducer/islpy>`_.
- Also, :class:`islpy.Dim` was renamed to :class:`islpy.Space` in isl.
+ Also, there were a few breaking changes in isl that reflect through to Python:
+ :class:`islpy.Dim` was renamed to :class:`islpy.Space` in isl,
+ and :class:`islpy.Div` was removed, having been superseded by :class:`islpy.Aff`.
Now you obviously want to watch the library do something (at least mildly)
cool? Well, sit back and watch::
View
@@ -83,6 +83,8 @@ Version 2011.3
* Add :meth:`islpy.Set.project_out_except` and friends.
* Add :meth:`islpy.Set.remove_divs_of_dim_type` and friends.
* :class:`islpy.Dim` was renamed to :class:`islpy.Space` in isl.
+* :class:`islpy.Div` was removed and replaced by :class:`islpy.Aff`
+ wherever it was used previously.
Version 2011.2
--------------
View
@@ -97,12 +97,6 @@ Constraints
.. autoclass:: Constraint
:members:
-Existentially Quantified Variables
-----------------------------------
-
-.. autoclass:: Div
- :members:
-
Vector
------
View
@@ -79,7 +79,7 @@ def __repr__(self):
"printer", "mat", "vec", "id",
"aff", "pw_aff",
- "div", "constraint", "space", "local_space",
+ "constraint", "space", "local_space",
"basic_set", "basic_map",
"set", "map",
@@ -873,7 +873,6 @@ def gen_wrapper(include_dirs):
fdata.read_header("isl/band.h")
fdata.read_header("isl/schedule.h")
fdata.read_header("isl/flow.h")
- fdata.read_header("isl/div.h")
expf = open("src/wrapper/gen-expose.inc", "wt")
wrapf = open("src/wrapper/gen-wrap.inc", "wt")
2 isl
Submodule isl updated from 5f5f8b to 028d1a
View
@@ -104,7 +104,7 @@ def obj_set_coefficients(self, dim_tp, args):
:param args: :class:`list` of coefficients, for indices `0..len(args)-1`.
.. versionchanged:: 2011.3
- New for :class:`Aff`, :class:`Div`.
+ New for :class:`Aff`
"""
for i, coeff in enumerate(args):
self = self.set_coefficient(dim_tp, i, coeff)
@@ -119,7 +119,7 @@ def obj_set_coefficients_by_name(self, iterable, name_to_dim=None):
The constant is set to the value of the key '1'.
.. versionchanged:: 2011.3
- New for :class:`Aff`, :class:`Div`.
+ New for :class:`Aff`
"""
try:
iterable = iterable.iteritems()
@@ -145,7 +145,7 @@ def obj_get_coefficients_by_name(self, dimtype=None, dim_to_name=None):
one of :class:`dim_type`.
.. versionchanged:: 2011.3
- New for :class:`Aff`, :class:`Div`.
+ New for :class:`Aff`
"""
if dimtype is None:
types = _CHECK_DIM_TYPES
@@ -170,7 +170,7 @@ def obj_get_coefficients_by_name(self, dimtype=None, dim_to_name=None):
return result
- for coeff_class in [Constraint, Aff, Div]:
+ for coeff_class in [Constraint, Aff]:
coeff_class.set_coefficients = obj_set_coefficients
coeff_class.set_coefficients_by_name = obj_set_coefficients_by_name
coeff_class.get_coefficients_by_name = obj_get_coefficients_by_name
View
@@ -123,7 +123,6 @@ namespace isl
WRAP_CLASS(aff);
WRAP_CLASS(pw_aff);
- WRAP_CLASS(div);
WRAP_CLASS(constraint);
WRAP_CLASS(space);
WRAP_CLASS(local_space);
@@ -262,7 +261,6 @@ BOOST_PYTHON_MODULE(_isl)
MAKE_WRAP(aff, Aff);
MAKE_WRAP(pw_aff, PwAff);
- MAKE_WRAP(div, Div);
MAKE_WRAP(constraint, Constraint);
MAKE_WRAP(space, Space);
MAKE_WRAP(local_space, LocalSpace);

0 comments on commit 30909ff

Please sign in to comment.