From 5c66ccd41172f47efcd46b4387c9e189d8e8033d Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Mon, 27 Jan 2014 16:08:46 -0600 Subject: [PATCH] Minor fixes --- doc/_static/akdoc.css | 6 +++--- doc/tutorial.rst | 3 ++- loopy/symbolic.py | 2 -- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/doc/_static/akdoc.css b/doc/_static/akdoc.css index 1a1ef7a64..d8b61e3ff 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 194c3f80e..d8a982e6c 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 8baa28ed1..4838eda45 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)) -- GitLab