diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 44b8624d..65fc575c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -67,12 +67,12 @@ jobs: nvcc: runs-on: ubuntu-latest - container: nvidia/cuda:12.2.0-devel-ubuntu22.04 + container: nvidia/cuda:12.6.1-devel-ubuntu24.04 name: "Python 3 / NVCC (CUDA 12.2)" steps: - name: Install dependencies - run: apt-get update && DEBIAN_FRONTEND="noninteractive" apt-get install -y cmake git python3-dev python3-pytest python3-pip libeigen3-dev && python3 -m pip install typing_extensions numpy + run: apt-get update && DEBIAN_FRONTEND="noninteractive" apt-get install -y cmake git python3-dev python3-pytest python3-pip libeigen3-dev python3-typing-extensions python3-numpy - uses: actions/checkout@v4 with: diff --git a/docs/changelog.rst b/docs/changelog.rst index d3c4eafd..67b76bdf 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -25,7 +25,7 @@ Version 2.2.0 (TBA) fine-grained locking scheme (see `PEP 703 `__) to better leverage multi-core parallelism. A `separate documation page `__ explains this in - detail. (PRs `#695 `__, `#720 + detail (PRs `#695 `__, `#720 `__) - nanobind has always used `PEP 590 vector calls @@ -33,11 +33,12 @@ Version 2.2.0 (TBA) to function and method bindings, but it lacked the ability to do so for constructors (e.g., ``MyType(arg1, arg2, ...)``). - Version 2.2.0 adds this missing part, which accelerates object construction - by up to a factor of 2×. The difference is especially pronounced when passing - keyword arguments to constructors. Note that this improvement only applies to - Python version 3.9 and newer (commits - `#24907b0 `__, + Version 2.2.0 adds this missing part, which accelerates object + construction by up to a factor of 2×. The difference is + especially pronounced when passing keyword arguments to + constructors. Note that this improvement only applies to + Python version 3.9 and newer (PR + `#706 `__, commits `#e24d7f3 `__, `#0acecb4 `__). @@ -48,6 +49,7 @@ Version 2.2.0 (TBA) ``^``, and ``~``). Further combining the annotation with :cpp:class:`nb::is_arithmetic() ` creates enumerations deriving from :py:class:`enum.IntFlag`. (PRs + `#599 `__, `#688 `__, `#688 `__, `#727 `__, @@ -96,7 +98,7 @@ Version 2.2.0 (TBA) There are two minor but potentially breaking changes: - 1. The ndarray type caster now interprets the + 1. The nd-array type caster now interprets the :cpp:enumerator:`nb::rv_policy::automatic_reference ` return value policy analogously to the :cpp:enumerator:`nb::rv_policy::automatic `, which @@ -109,8 +111,9 @@ Version 2.2.0 (TBA) which previously did nothing, now accepts C- or F-contiguous arrays and rejects non-contiguous ones. - PR `#721 `__ - and commit `4647ef + For further details on the nd-array changes, see PR `#721 + `__ and commit + `4647ef `__. - The NVIDIA CUDA compiler (``nvcc``) is now explicitly supported and included