Skip to content

Commit

Permalink
Doc fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
bluescarni committed Jun 7, 2024
1 parent 78333e6 commit 4cc9db4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions doc/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -199,10 +199,10 @@ New
- Implement an in-memory cache for ``llvm_state``. The cache is used
to avoid re-optimising and re-compiling LLVM code which has
already been optimised and compiled during the program execution
(`#132 <https://github.com/bluescarni/heyoka.py/pull/132>`__).
(`#134 <https://github.com/bluescarni/heyoka.py/pull/134>`__).
- It is now possible to get the LLVM bitcode of
an ``llvm_state``
(`#132 <https://github.com/bluescarni/heyoka.py/pull/132>`__).
(`#134 <https://github.com/bluescarni/heyoka.py/pull/134>`__).

1.0.0 (2023-08-11)
------------------
Expand Down
2 changes: 1 addition & 1 deletion doc/notebooks/compiled_functions.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@
"\n",
"### JAX\n",
"\n",
"As a last benchmark, we will be performing the same evaluation with [JAX](https://jax.readthedocs.io/en/latest/index.html). Similarly to heyoka.py, JAX offers the possibility to [JIT compile Python functions](https://jax.readthedocs.io/en/latest/notebooks/quickstart.html#using-jit-to-speed-up-functions), so we expect similar performance to heyoka.py. Note that, in order to perform a fair comparison, for the execution of this notebook we [enabled 64-bit floats in JAX](https://jax.readthedocs.io/en/latest/notebooks/Common_Gotchas_in_JAX.html#double-64bit-precision) and we used JAX's CPU backend [forcing a single thread of execution](https://github.com/google/jax/issues/1539).\n",
"As a last benchmark, we will be performing the same evaluation with [JAX](https://jax.readthedocs.io/en/latest/index.html). Similarly to heyoka.py, JAX offers the possibility to [JIT compile Python functions](https://jax.readthedocs.io/en/latest/quickstart.html#just-in-time-compilation-with-jax-jit), so we expect similar performance to heyoka.py. Note that, in order to perform a fair comparison, for the execution of this notebook we [enabled 64-bit floats in JAX](https://jax.readthedocs.io/en/latest/notebooks/Common_Gotchas_in_JAX.html#double-64bit-precision) and we used JAX's CPU backend [forcing a single thread of execution](https://github.com/google/jax/issues/1539).\n",
"\n",
"Let us see the jax code:"
]
Expand Down

0 comments on commit 4cc9db4

Please sign in to comment.