diff --git a/doc/index.rst b/doc/index.rst index d862a8acd0cb258bfd1e9623bd5cef895871f6b1..b77bbb16f413defe5010c75d28464051553b4486 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -25,18 +25,18 @@ Want to try out loopy? There's no need to go through :ref:`installation` if you'd just like to get a feel for what loopy is. Instead, you may -`download a self-contained Linux binary `_. +`download a self-contained Linux binary `_. This is purposefully built on an ancient Linux distribution, so it should work on most versions of Linux that are currently out there. Once you have the binary, do the following:: chmod +x ./loopy-centos6 - ./loopy-centos6 --target=opencl hello-loopy-lp.py - ./loopy-centos6 --target=cuda hello-loopy-lp.py - ./loopy-centos6 --target=ispc hello-loopy-lp.py + ./loopy-centos6 --target=opencl hello-loopy.loopy + ./loopy-centos6 --target=cuda hello-loopy.loopy + ./loopy-centos6 --target=ispc hello-loopy.loopy -Grab the example here: :download:`examples/python/hello-loopy.py <../examples/python/hello-loopy-lp.py>`. +Grab the example here: :download:`examples/python/hello-loopy.loopy <../examples/python/hello-loopy.loopy>`. You may also donwload the most recent version by going to the `list of builds `_, clicking on the newest one diff --git a/doc/ref_kernel.rst b/doc/ref_kernel.rst index c9ce206260c04fc883a0f980df0b18a9a826bbd9..896388d2911a6d3c0e7783d7b1b3833b87c770d0 100644 --- a/doc/ref_kernel.rst +++ b/doc/ref_kernel.rst @@ -406,7 +406,7 @@ Arguments :members: :undoc-members: -.. autoclass:: GlobalArg +.. autoclass:: ArrayArg :members: :undoc-members: @@ -593,7 +593,7 @@ Do not create :class:`LoopKernel` objects directly. Instead, refer to Implementation Detail: The Base Array ------------------------------------- -All array-like data in :mod:`loopy` (such as :class:`GlobalArg` and +All array-like data in :mod:`loopy` (such as :class:`ArrayArg` and :class:`TemporaryVariable`) derive from single, shared base array type, described next. diff --git a/doc/tutorial.rst b/doc/tutorial.rst index 1272d2a59119725a903fa7cd1a08b7de8629c6f6..73f5dea75da6152503eb90a90fcfb7da376de89a 100644 --- a/doc/tutorial.rst +++ b/doc/tutorial.rst @@ -1361,7 +1361,7 @@ code-generation however additional implementation may be required for custom functions. The full lists of available functions may be found in a the :class:`TargetBase` implementation (e.g. :class:`CudaTarget`) -Custom user functions may be represented using the method described in :ref:`_functions` +Custom user functions may be represented using the method described in :ref:`functions` Data-dependent control flow diff --git a/examples/python/hello-loopy.loopy b/examples/python/hello-loopy.loopy index 0ba44d6eccb18236ac13e17ca747318af3962634..7f79730985119096daf3bbdd31ff17a2c0e7ab2c 100644 --- a/examples/python/hello-loopy.loopy +++ b/examples/python/hello-loopy.loopy @@ -1,7 +1,7 @@ # This is a version of hello-loopy.py that can be run through # a loopy binary using # -# ./loopy --lang=loopy hello-loopy-lp.py - +# ./loopy --lang=loopy hello-loopy.loopy - knl = lp.make_kernel( "{ [i]: 0<=i