From b799067daa19a207c70d8e172de99c32a094258a Mon Sep 17 00:00:00 2001
From: Andreas Kloeckner <inform@tiker.net>
Date: Tue, 18 Jun 2013 19:23:50 -0400
Subject: [PATCH] Document CompiledKernel

---
 doc/reference.rst | 7 +++++++
 loopy/__init__.py | 7 +++++--
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/doc/reference.rst b/doc/reference.rst
index c8d041079..bf62ec89e 100644
--- a/doc/reference.rst
+++ b/doc/reference.rst
@@ -242,6 +242,13 @@ Finishing up
 
 .. autofunction:: generate_code
 
+Running
+-------
+
+.. autoclass:: InvocationFlags
+
+.. autoclass:: CompiledKernel
+
 Automatic Testing
 -----------------
 
diff --git a/loopy/__init__.py b/loopy/__init__.py
index a2d1f971d..e1a5a6da3 100644
--- a/loopy/__init__.py
+++ b/loopy/__init__.py
@@ -68,7 +68,7 @@ from loopy.preprocess import (preprocess_kernel, realize_reduction,
         infer_unknown_types)
 from loopy.schedule import generate_loop_schedules
 from loopy.codegen import generate_code
-from loopy.compiled import CompiledKernel
+from loopy.compiled import InvocationFlags, CompiledKernel
 from loopy.auto_test import auto_test_vs_ref
 
 __all__ = [
@@ -88,7 +88,10 @@ __all__ = [
         "preprocess_kernel", "realize_reduction", "infer_unknown_types",
         "generate_loop_schedules",
         "generate_code",
-        "CompiledKernel", "auto_test_vs_ref",
+
+        "InvocationFlags", "CompiledKernel",
+
+        "auto_test_vs_ref",
 
         "make_kernel",
         "split_iname", "join_inames", "tag_inames", "duplicate_inames",
-- 
GitLab