Skip to content

Commit 449afd6

Browse files
committed
Drop Fortran frontend
1 parent e44b249 commit 449afd6

39 files changed

Lines changed: 9 additions & 3183 deletions

contrib/floopy-highlighting/floopy.vim

Lines changed: 0 additions & 31 deletions
This file was deleted.

doc/index.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ loopy is a code generator for array-based code in the OpenCL/CUDA execution
55
model. Here's a very simple example of how to double the entries of a vector
66
using loopy:
77

8-
.. literalinclude:: ../examples/python/hello-loopy.py
8+
.. literalinclude:: ../examples/hello-loopy.py
99
:end-before: ENDEXAMPLE
1010

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

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

16-
.. literalinclude:: ../examples/python/hello-loopy.cl
16+
.. literalinclude:: ../examples/hello-loopy.cl
1717
:language: c
1818

1919
(See the full example for how to print the generated code.)

doc/misc.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -187,11 +187,11 @@ source of examples. Here are some links:
187187

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

190-
.. literalinclude:: ../examples/python/find-centers.py
190+
.. literalinclude:: ../examples/find-centers.py
191191
:language: python
192192

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

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

365-
.. literalinclude:: ../examples/python/vector-types.py
365+
.. literalinclude:: ../examples/vector-types.py
366366
:language: python
367367

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

372-
.. literalinclude:: ../examples/python/vector-types.cl
372+
.. literalinclude:: ../examples/vector-types.cl
373373
:language: c
374374

375375
What is the story with language versioning?

doc/ref_call.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ a :class:`~loopy.target.TargetBase`. Other foreign functions could be invoked by
4141

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

44-
.. literalinclude:: ../examples/python/call-external.py
44+
.. literalinclude:: ../examples/call-external.py
4545

4646
Call Instruction for a kernel call
4747
----------------------------------

doc/ref_creation.rst

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,6 @@ From Loop Domains and Instructions
99

1010
.. autofunction:: make_kernel
1111

12-
From Fortran
13-
------------
14-
15-
.. autofunction:: parse_fortran
16-
17-
.. autofunction:: parse_transformed_fortran
18-
19-
.. autofunction:: c_preprocess
20-
2112
From Other Kernels
2213
------------------
2314

examples/fortran/ipython-integration-demo.ipynb

Lines changed: 0 additions & 133 deletions
This file was deleted.

examples/fortran/matmul-driver.py

Lines changed: 0 additions & 39 deletions
This file was deleted.

examples/fortran/matmul.floopy

Lines changed: 0 additions & 32 deletions
This file was deleted.

0 commit comments

Comments
 (0)