From 012ce5585e9057fd0696a9afd1794cd7e36ff1e6 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner <inform@tiker.net> Date: Mon, 10 Aug 2015 12:29:38 -0500 Subject: [PATCH] Re-fix doctest with variable output --- doc/tutorial.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/tutorial.rst b/doc/tutorial.rst index 807abf0b9..40f171356 100644 --- a/doc/tutorial.rst +++ b/doc/tutorial.rst @@ -1372,16 +1372,16 @@ our parallelization of the kernel: >>> for key in sorted(load_store_map.dict.keys(), key=lambda k: str(k)): ... print("%s :\n%s\n" % (key, load_store_map.dict[key])) (dtype('float32'), 'nonconsecutive', 'load') : - [n, m, l] -> { (((192 * n + -3 * n * m) * l * floor((m)/128) + 192 * n * l * floor((m)/128)^2) + (192 * n + 3 * n * m) * l * floor((127 + m)/128) + -192 * n * l * floor((127 + m)/128)^2) : n >= 1 and m >= 1 and l >= 1 } + [n, m, l] -> { ... } <BLANKLINE> (dtype('float32'), 'nonconsecutive', 'store') : - [n, m, l] -> { (((64 * n + -n * m) * l * floor((m)/128) + 64 * n * l * floor((m)/128)^2) + (64 * n + n * m) * l * floor((127 + m)/128) + -64 * n * l * floor((127 + m)/128)^2) : n >= 1 and m >= 1 and l >= 1 } + [n, m, l] -> { ... } <BLANKLINE> (dtype('float64'), 'nonconsecutive', 'load') : - [n, m, l] -> { 2 * n * m : n >= 1 and m >= 1 and l >= 1 } + [n, m, l] -> { ... } <BLANKLINE> (dtype('float64'), 'nonconsecutive', 'store') : - [n, m, l] -> { n * m : n >= 1 and m >= 1 and l >= 1 } + [n, m, l] -> { ... } <BLANKLINE> -- GitLab