Skip to content

Releases: xsuite/xobjects

Xobjects version 0.5.15

22 Mar 20:35

Choose a tag to compare

Changes:

  • Support numpy bool in json encoder

Full Changelog: v0.5.14...v0.5.15

Xobjects version 0.5.14

04 Mar 10:49

Choose a tag to compare

Changes:

  • Add ROCm support for xobjects #166

Full Changelog: v0.5.13...v0.5.14

Xobjects version 0.5.13

02 Mar 10:39

Choose a tag to compare

Changes:

  • Raise an error when trying to recompile kernels if environment variableXOBJECTS_FORBID_COMPILE is set
  • Generalize retrieval of precompiled kernels
  • Introduce test_helpers.skip_if_forbid_compile() to skip selected tests if environment variableXOBJECTS_FORBID_COMPILE is set

Full Changelog: v0.5.12...v0.5.13

Xobjects version 0.5.12

15 Dec 21:23

Choose a tag to compare

Changes:

  • Fix in HybridClass handling of defaults.

Full Changelog: v0.5.11...v0.5.12

Xobjects version 0.5.11

03 Dec 17:52

Choose a tag to compare

Changes:

  • Better handling of rename and defaults in HybridClass

Full Changelog: v0.5.10...v0.5.11

Xobjects version 0.5.10

26 Nov 19:41

Choose a tag to compare

Changes:

  • Fix a bug related to arrays of arrays not working (missing + symbol)
  • Add methods to retrieve shape and nd of arrays to C API.
  • Add a copy flag to converter function between numpy and context arrays.
  • Move the implementations of the VECTORIZE_OVER macro and the qualifier keywords from Xtrack to Xobjects, where they should've been put in the first place by the first edition of include-headers.
  • Move the implementation of atomicAdd from Xtrack, as I feel it belongs more to Xobjects (low level function dependent on the context).
  • Since previous headers PR introduced pyproject.toml, populate it as much as we can instead of setup.py, update black config.
  • Fix a long standing bug which causes long running scripts (such as tests) fail with OUT_OF_HOST_MEMORY on OpenCL (this is cause by the know bug of the Nvidia OpenCL driver, which leaks memory when cl.Context is destroyed – the solution is to cache contexts, and not recreate them for the same device)

Full Changelog: v0.5.9...v0.5.10

Xobjects version 0.5.7

17 Nov 11:04

Choose a tag to compare

Changes:

  • Fix in assert_allclose

Full Changelog: v0.5.6...v0.5.7

Xobjects version 0.5.6

10 Nov 13:44

Choose a tag to compare

Changes:

  • More compact visualisation of arrays in tables.

Full Changelog: v0.5.5...v0.5.6

Xobjects version 0.5.5

30 Oct 14:05

Choose a tag to compare

Changes:

  • Replacing the deprecated _to_json method with a new _to_dict method for all relevant classes
  • Improved the copy method in HybridClass to ensure that Python-only attributes are copied correctly, not just the underlying xobject.

Full Changelog: v0.5.4...v0.5.5

Xobjects version 0.5.4

28 Oct 11:29

Choose a tag to compare

Changes:

  • Fix in HybridClass.to_dict()

Full Changelog: v0.5.3...v0.5.4