Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 0 additions & 31 deletions contrib/floopy-highlighting/floopy.vim

This file was deleted.

6 changes: 3 additions & 3 deletions doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ loopy is a code generator for array-based code in the OpenCL/CUDA execution
model. Here's a very simple example of how to double the entries of a vector
using loopy:

.. literalinclude:: ../examples/python/hello-loopy.py
.. literalinclude:: ../examples/hello-loopy.py
:end-before: ENDEXAMPLE

This example is included in the :mod:`loopy` distribution as
:download:`examples/python/hello-loopy.py <../examples/python/hello-loopy.py>`.
:download:`examples/hello-loopy.py <../examples/hello-loopy.py>`.

When you run this script, the following kernel is generated, compiled, and executed:

.. literalinclude:: ../examples/python/hello-loopy.cl
.. literalinclude:: ../examples/hello-loopy.cl
:language: c

(See the full example for how to print the generated code.)
Expand Down
8 changes: 4 additions & 4 deletions doc/misc.rst
Original file line number Diff line number Diff line change
Expand Up @@ -187,11 +187,11 @@ source of examples. Here are some links:

Here's a more complicated example of a loopy code:

.. literalinclude:: ../examples/python/find-centers.py
.. literalinclude:: ../examples/find-centers.py
:language: python

This example is included in the :mod:`loopy` distribution as
:download:`examples/python/find-centers.py <../examples/python/find-centers.py>`.
:download:`examples/find-centers.py <../examples/find-centers.py>`.
What this does is find nearby "centers" satisfying some criteria
for an array of points ("targets").

Expand Down Expand Up @@ -362,14 +362,14 @@ don't already have one, :func:`loopy.split_iname` will easily produce one.
Lastly, both the array axis an the iname need the implementation tag ``"vec"``.
Here is an example of this machinery in action:

.. literalinclude:: ../examples/python/vector-types.py
.. literalinclude:: ../examples/vector-types.py
:language: python

Note how the example slices off the last 'slab' of iterations to ensure that
the bulk of the iteration does not require conditionals which would prevent
successful vectorization. This generates the following code:

.. literalinclude:: ../examples/python/vector-types.cl
.. literalinclude:: ../examples/vector-types.cl
:language: c

What is the story with language versioning?
Expand Down
2 changes: 1 addition & 1 deletion doc/ref_call.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ a :class:`~loopy.target.TargetBase`. Other foreign functions could be invoked by

An example demonstrating registering a ``CBlasGemv`` as a loopy callable:

.. literalinclude:: ../examples/python/call-external.py
.. literalinclude:: ../examples/call-external.py

Call Instruction for a kernel call
----------------------------------
Expand Down
9 changes: 0 additions & 9 deletions doc/ref_creation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,6 @@ From Loop Domains and Instructions

.. autofunction:: make_kernel

From Fortran
------------

.. autofunction:: parse_fortran

.. autofunction:: parse_transformed_fortran

.. autofunction:: c_preprocess

From Other Kernels
------------------

Expand Down
File renamed without changes.
File renamed without changes.
133 changes: 0 additions & 133 deletions examples/fortran/ipython-integration-demo.ipynb

This file was deleted.

39 changes: 0 additions & 39 deletions examples/fortran/matmul-driver.py

This file was deleted.

32 changes: 0 additions & 32 deletions examples/fortran/matmul.floopy

This file was deleted.

33 changes: 0 additions & 33 deletions examples/fortran/sparse.floopy

This file was deleted.

36 changes: 0 additions & 36 deletions examples/fortran/tagging.floopy

This file was deleted.

Loading
Loading