From 39c9c9bf764faab234e5db721c058a157f96b3b7 Mon Sep 17 00:00:00 2001 From: Yi DING Date: Wed, 1 May 2024 19:18:34 +0800 Subject: [PATCH] Update usage.rst (#2138) futhark py => futhark python --- docs/usage.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/usage.rst b/docs/usage.rst index 89039bc11b..9f7b0b57b3 100644 --- a/docs/usage.rst +++ b/docs/usage.rst @@ -33,7 +33,7 @@ can be compiled to an executable program as follows:: This makes use of the ``futhark c`` compiler, but any other will work as well. The compiler will automatically invoke ``cc`` to produce an -executable binary called ``prog``. If we had used ``futhark py`` +executable binary called ``prog``. If we had used ``futhark python`` instead of ``futhark c``, the ``prog`` file would instead have contained Python code, along with a `shebang`_ for easy execution. In general, when compiling file ``foo.fut``, the result will be written @@ -535,7 +535,7 @@ See also :ref:`futhark-opencl(1)`. Generating Python ^^^^^^^^^^^^^^^^^ -The ``futhark py`` and ``futhark pyopencl`` compilers both support +The ``futhark python`` and ``futhark pyopencl`` compilers both support generating reusable Python code, although the latter of these generates code of sufficient performance to be worthwhile. The following mentions options and parameters only available for