Releases: xsuite/xobjects
Releases · xsuite/xobjects
Xobjects version 0.5.15
Xobjects version 0.5.14
Xobjects version 0.5.13
Changes:
- Raise an error when trying to recompile kernels if environment variable
XOBJECTS_FORBID_COMPILEis set - Generalize retrieval of precompiled kernels
- Introduce
test_helpers.skip_if_forbid_compile()to skip selected tests if environment variableXOBJECTS_FORBID_COMPILEis set
Full Changelog: v0.5.12...v0.5.13
Xobjects version 0.5.12
Xobjects version 0.5.11
Xobjects version 0.5.10
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
copyflag to converter function between numpy and context arrays. - Move the implementations of the
VECTORIZE_OVERmacro and the qualifier keywords from Xtrack to Xobjects, where they should've been put in the first place by the first edition ofinclude-headers. - Move the implementation of
atomicAddfrom 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 ofsetup.py, update black config. - Fix a long standing bug which causes long running scripts (such as tests) fail with
OUT_OF_HOST_MEMORYon OpenCL (this is cause by the know bug of the Nvidia OpenCL driver, which leaks memory whencl.Contextis 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
Xobjects version 0.5.6
Xobjects version 0.5.5
Changes:
- Replacing the deprecated
_to_jsonmethod with a new_to_dictmethod for all relevant classes - Improved the
copymethod inHybridClassto ensure that Python-only attributes are copied correctly, not just the underlying xobject.
Full Changelog: v0.5.4...v0.5.5