Skip to content

Releases: xsuite/xobjects

Xobjects version 0.1.32

21 Feb 16:20
Compare
Choose a tag to compare

Changes:

  • Patch pyopencl module with mean, sqrt and isnan.
  • Add some more scalar types to GPU contexts

Xobjects version 0.1.31

19 Dec 18:11
Compare
Choose a tag to compare

Changes:

  • Introduce compile_kernels method in all contexts.
  • On ContextCpu, kernels can be saved or loaded from shared-object files.

Full Changelog: v0.1.30...v0.1.31

Xobjects version 0.1.30

30 Nov 19:25
ca00dee
Compare
Choose a tag to compare

Xobjects version 0.1.28

30 Nov 15:44
Compare
Choose a tag to compare

Changes:

  • Implement to_nparray and to_json and add suitable tests for xobjects. The method to_json returns a dict that is json-compliant from which the xobjects can be regenerated simply by passing the dict to the constructor.
  • Avoid memcopy (where possible) in a hybrid class.
  • Make contexts visible in test printout. Parametrize tests over contexts simply by adding @for_all_test_contexts or @for_all_test_contexts(excluding: Iterable[str] | str) on them, the context is passed as test_context to the test.
  • Minor fixes of typos.

Full Changelog: v0.1.27...v0.1.28

Xobjects version 0.1.27

11 Nov 21:13
Compare
Choose a tag to compare

Changes:

  • Add _update method to class to avoid overwriting arrays.
  • Ensure that NULL is defined in pyopencl contexts.

Full Changelog: v0.1.26...v0.1.27

Xobjects version 0.1.26

01 Nov 07:57
Compare
Choose a tag to compare

Changes:

  • Fix: pyopencl deprecated syntax

Full Changelog: v0.1.25...v0.1.26

Xobjects version 0.1.25

16 Oct 07:05
Compare
Choose a tag to compare

Changes:

  • Version number accessible as xobjects.__version__
  • Fix in Array C API generation
  • Buffer/context consistency check on allocate_on_buffer

Xobjects version 0.1.24

30 Sep 19:26
Compare
Choose a tag to compare

Changes:

  • Faster array initialisation
  • Introduced xobjects.get_a_buffer function

Xobjects version 0.1.23

29 Sep 08:27
Compare
Choose a tag to compare

Changes:

  • Rename of several methods
  • Use offset=0 as default of from_buffer.

Xobjects version 0.1.22

17 Sep 13:43
Compare
Choose a tag to compare

Changes:

Improve HybridClass robustness:

  • Correctly propagate xobjects and python attributes in assignment and initialisation within nested data structures.
  • Prevent object move for nested objects and in the presence of references
  • Referencing objects across buffers now results in an error.
  • Fix in rename mechanism.