diff --git a/loopy/kernel/__init__.py b/loopy/kernel/__init__.py index 617ac4ed7..967640260 100644 --- a/loopy/kernel/__init__.py +++ b/loopy/kernel/__init__.py @@ -121,7 +121,7 @@ class LoopKernel(Taggable): .. autoattribute:: domains .. autoattribute:: instructions .. autoattribute:: args - .. autoattribute:: schedule + .. autoattribute:: linearization .. autoattribute:: name .. autoattribute:: preambles .. autoattribute:: preamble_generators @@ -530,14 +530,6 @@ def _get_inames_domain_backend(self, inames): # }}} - @property - def schedule(self): - warn( - "'LoopKernel.schedule' is deprecated and will be removed in 2022. " - "Call 'LoopKernel.linearization' instead.", - DeprecationWarning, stacklevel=2) - return self.linearization - # {{{ iname wrangling def iname_tags(self, iname): diff --git a/loopy/schedule/__init__.py b/loopy/schedule/__init__.py index a9121de8c..2460f5ed7 100644 --- a/loopy/schedule/__init__.py +++ b/loopy/schedule/__init__.py @@ -923,7 +923,7 @@ def _generate_loop_schedules_v2(kernel: LoopKernel) -> Sequence[ScheduleItem]: raise V2SchedulerNotImplementedError("v2 scheduler cannot schedule" " kernels with instruction priorities set.") - if kernel.schedule is not None: + if kernel.linearization is not None: # cannot handle preschedule yet raise V2SchedulerNotImplementedError("v2 scheduler cannot schedule" " prescheduled kernels.") diff --git a/loopy/target/c/compyte b/loopy/target/c/compyte index fcb59401c..955160ac2 160000 --- a/loopy/target/c/compyte +++ b/loopy/target/c/compyte @@ -1 +1 @@ -Subproject commit fcb59401cd61704037002b714519d0f7af2c4c59 +Subproject commit 955160ac2f504dabcd8641471a56146fa1afe35d