From e573c9f9f89f12a3c7198e5e514e81f7c6e29aba Mon Sep 17 00:00:00 2001 From: Kaushik Kulkarni Date: Sun, 18 Apr 2021 11:01:19 -0500 Subject: [PATCH] run nb-clean on ipython-integration-demo.ipynb --- .../fortran/ipython-integration-demo.ipynb | 90 ++++--------------- 1 file changed, 16 insertions(+), 74 deletions(-) diff --git a/examples/fortran/ipython-integration-demo.ipynb b/examples/fortran/ipython-integration-demo.ipynb index 8fe25780b..d9ac1f1b2 100644 --- a/examples/fortran/ipython-integration-demo.ipynb +++ b/examples/fortran/ipython-integration-demo.ipynb @@ -9,7 +9,7 @@ }, { "cell_type": "code", - "execution_count": 1, + "execution_count": null, "metadata": {}, "outputs": [], "source": [ @@ -25,18 +25,9 @@ }, { "cell_type": "code", - "execution_count": 2, + "execution_count": null, "metadata": {}, - "outputs": [ - { - "name": "stderr", - "output_type": "stream", - "text": [ - "/home/kaushikggg/pack/loopy_kc_env/src/loopy/loopy/frontend/fortran/translator.py:807: LoopyWarning: 'lang_version' was not passed to make_function(). To avoid this warning, pass lang_version=(2018, 2) in this invocation. (Or say 'from loopy.version import LOOPY_USE_LANGUAGE_VERSION_2018_2' in the global scope of the calling frame.)\n", - " seq_dependencies=seq_dependencies,\n" - ] - } - ], + "outputs": [], "source": [ "%%fortran_kernel\n", "\n", @@ -54,35 +45,9 @@ }, { "cell_type": "code", - "execution_count": 3, + "execution_count": null, "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "---------------------------------------------------------------------------\n", - "KERNEL: fill\n", - "---------------------------------------------------------------------------\n", - "ARGUMENTS:\n", - "a: ValueArg, type: np:dtype('float64')\n", - "n: ValueArg, type: np:dtype('int32')\n", - "out: type: np:dtype('float64'), shape: (n), dim_tags: (N0:stride:1) aspace: global\n", - "---------------------------------------------------------------------------\n", - "DOMAINS:\n", - "[n] -> { [i] : 0 <= i < n }\n", - "---------------------------------------------------------------------------\n", - "INAME IMPLEMENTATION TAGS:\n", - "i: None\n", - "---------------------------------------------------------------------------\n", - "INSTRUCTIONS:\n", - "for i\n", - " \u001b[36mout[i]\u001b[0m = \u001b[35ma\u001b[0m {id=\u001b[32minsn0\u001b[0m}\n", - "end i\n", - "---------------------------------------------------------------------------\n" - ] - } - ], + "outputs": [], "source": [ "print(prog)" ] @@ -96,8 +61,10 @@ }, { "cell_type": "code", - "execution_count": 4, - "metadata": {}, + "execution_count": null, + "metadata": { + "collapsed": true + }, "outputs": [], "source": [ "split_amount = 128" @@ -105,7 +72,7 @@ }, { "cell_type": "code", - "execution_count": 8, + "execution_count": null, "metadata": {}, "outputs": [], "source": [ @@ -134,36 +101,9 @@ }, { "cell_type": "code", - "execution_count": 10, + "execution_count": null, "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "---------------------------------------------------------------------------\n", - "KERNEL: tr_fill\n", - "---------------------------------------------------------------------------\n", - "ARGUMENTS:\n", - "a: ValueArg, type: np:dtype('float64')\n", - "n: ValueArg, type: np:dtype('int32')\n", - "out: type: np:dtype('float64'), shape: (n), dim_tags: (N0:stride:1) aspace: global\n", - "---------------------------------------------------------------------------\n", - "DOMAINS:\n", - "[n] -> { [i_outer, i_inner] : i_inner >= 0 and -128i_outer <= i_inner <= 127 and i_inner < n - 128i_outer }\n", - "---------------------------------------------------------------------------\n", - "INAME IMPLEMENTATION TAGS:\n", - "i_inner: l.0\n", - "i_outer: g.0\n", - "---------------------------------------------------------------------------\n", - "INSTRUCTIONS:\n", - "for i_inner, i_outer\n", - " \u001b[36mout[i_inner + i_outer*128]\u001b[0m = \u001b[35ma\u001b[0m {id=\u001b[32minsn0\u001b[0m}\n", - "end i_inner, i_outer\n", - "---------------------------------------------------------------------------\n" - ] - } - ], + "outputs": [], "source": [ "print(prog)" ] @@ -171,7 +111,9 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "metadata": { + "collapsed": true + }, "outputs": [], "source": [] } @@ -192,7 +134,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.6.8" + "version": "3.6.4" } }, "nbformat": 4, -- GitLab