Skip to content

Commit e53cc0d

Browse files
Merge pull request #118 from nauaneed/master2main
rename master to main in docs
2 parents 0884cb9 + b835b03 commit e53cc0d

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Compyle: execute a subset of Python on HPC platforms
99
.. |Documentation Status| image:: https://readthedocs.org/projects/compyle/badge/?version=latest
1010
:target: https://compyle.readthedocs.io/en/latest/?badge=latest
1111
:alt: Documentation Status
12-
.. |Coverage Status| image:: https://codecov.io/gh/pypr/compyle/branch/master/graph/badge.svg
12+
.. |Coverage Status| image:: https://codecov.io/gh/pypr/compyle/branch/main/graph/badge.svg
1313
:target: https://codecov.io/gh/pypr/compyle
1414

1515
Compyle allows users to execute a restricted subset of Python (almost similar
@@ -102,6 +102,6 @@ Examples
102102
---------
103103

104104
Some simple examples and benchmarks are available in the `examples
105-
<https://github.com/pypr/compyle/tree/master/examples>`_ directory.
105+
<https://github.com/pypr/compyle/tree/main/examples>`_ directory.
106106

107107
You may also run these examples on the `Google Colab notebook`_

docs/source/installation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ repository and install compyle like so::
3232
If you just want the latest version and do not want to clone the repository,
3333
you can also do::
3434

35-
$ pip install https://github.com/pypr/compyle/zipball/master
35+
$ pip install https://github.com/pypr/compyle/zipball/main
3636

3737

3838
.. _PyOpenCL: https://documen.tician.de/pyopencl/

docs/source/overview.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -139,32 +139,32 @@ More examples
139139
--------------
140140

141141
More complex examples (but still fairly simple) are available in the `examples
142-
<https://github.com/pypr/compyle/tree/master/examples>`_ directory.
142+
<https://github.com/pypr/compyle/tree/main/examples>`_ directory.
143143

144-
- `axpb.py <https://github.com/pypr/compyle/tree/master/examples/axpb.py>`_: the
144+
- `axpb.py <https://github.com/pypr/compyle/tree/main/examples/axpb.py>`_: the
145145
above example but for openmp and opencl compared with serial showing that in
146146
some cases serial is actually faster than parallel!
147147

148148
- `vm_elementwise.py
149-
<https://github.com/pypr/compyle/tree/master/examples/vm_elementwise.py>`_:
149+
<https://github.com/pypr/compyle/tree/main/examples/vm_elementwise.py>`_:
150150
shows a simple N-body code with two-dimensional point vortices. The code uses
151151
a simple elementwise operation and works with OpenMP and OpenCL.
152152

153153
- `vm_numba.py
154-
<https://github.com/pypr/compyle/tree/master/examples/vm_numba.py>`_: shows
154+
<https://github.com/pypr/compyle/tree/main/examples/vm_numba.py>`_: shows
155155
the same code written in numba for comparison. In our benchmarks, Compyle is
156156
actually faster even in serial and in parallel it can be much faster when you
157157
use all cores.
158158

159159
- `vm_kernel.py
160-
<https://github.com/pypr/compyle/tree/master/examples/vm_kernel.py>`_: shows
160+
<https://github.com/pypr/compyle/tree/main/examples/vm_kernel.py>`_: shows
161161
how one can write a low-level OpenCL kernel in pure Python and use that. This
162162
also shows how you can allocate and use local (or shared) memory which is
163163
often very important for performance on GPGPUs. This code will only run via
164164
PyOpenCL.
165165

166166
- `bench_vm.py
167-
<https://github.com/pypr/compyle/tree/master/examples/bench_vm.py>`_:
167+
<https://github.com/pypr/compyle/tree/main/examples/bench_vm.py>`_:
168168
Benchmarks the various vortex method results above for a comparison with
169169
numba.
170170

0 commit comments

Comments
 (0)