diff --git a/doc/_static/akdoc.css b/doc/_static/akdoc.css index 1a1ef7a64fe74e3c1eda3d976c5acd38f2a978e2..d8b61e3ff7a358e5d5c0f132b5040ec7c3f43e42 100644 --- a/doc/_static/akdoc.css +++ b/doc/_static/akdoc.css @@ -23,17 +23,17 @@ code { } h1 { - padding-bottom:5px; + padding-bottom:7px; border-bottom: 1px solid #ccc; } h2 { - padding-bottom:1px; + padding-bottom:5px; border-bottom: 1px solid #ccc; } h3 { - padding-bottom:1px; + padding-bottom:5px; border-bottom: 1px solid #ccc; } diff --git a/doc/tutorial.rst b/doc/tutorial.rst index 194c3f80edb57950b779326d6fddbf72afb69f1e..d8a982e6cc435d8b077bb6edab0e90f86fe00fac 100644 --- a/doc/tutorial.rst +++ b/doc/tutorial.rst @@ -11,7 +11,8 @@ Preparation ----------- :mod:`loopy` currently requires on :mod:`pyopencl` to be installed. We -import a few modules and initialize :mod:`pyopencl` +import a few modules and set up a :class:`pyopencl.Context` and a +:class:`pyopencl.CommandQueue`: .. doctest:: diff --git a/loopy/symbolic.py b/loopy/symbolic.py index 8baa28ed1731bf82933e8e65b9f2a5bdbe0cac3e..4838eda45799f039d67110111fdb1083cf564262 100644 --- a/loopy/symbolic.py +++ b/loopy/symbolic.py @@ -275,9 +275,7 @@ class DependencyMapper(DependencyMapperBase): @memoize def get_dependencies(expr): - from loopy.symbolic import DependencyMapper dep_mapper = DependencyMapper(composite_leaves=False) - return frozenset(dep.name for dep in dep_mapper(expr))