From 004e7005beeabf245e004aa9fb181bf8b7cf4580 Mon Sep 17 00:00:00 2001
From: Andreas Kloeckner <inform@tiker.net>
Date: Sun, 16 Oct 2011 12:08:26 -0400
Subject: [PATCH] Doc: Add version blurb to context-dependent caching.

---
 doc/source/tools.rst | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/doc/source/tools.rst b/doc/source/tools.rst
index b63856a7..57200f7e 100644
--- a/doc/source/tools.rst
+++ b/doc/source/tools.rst
@@ -74,8 +74,8 @@ the available memory.
         This is useful as a cleanup action when a memory pool falls out
         of use.
 
-Kernel Caching
---------------
+Context-based Caching
+---------------------
 
 .. function:: context_dependent_memoize(func)
 
@@ -84,6 +84,8 @@ Kernel Caching
     for caching of kernels. Assumes that the first argument of the decorated
     function is the :class:`pyopencl.Context`.
 
+    .. versionadded:: 2011.2
+
 .. function:: clear_context_caches()
 
     Empties all context-dependent memoization caches. Also releases
@@ -91,6 +93,8 @@ Kernel Caching
     program detaches from its context, you might need to call this
     function to free all remaining references to your context.
 
+    .. versionadded:: 2011.2
+
 Testing
 -------
 
-- 
GitLab