Releases: xsuite/xobjects
Releases · xsuite/xobjects
Xobjects version 0.1.32
Changes:
- Patch
pyopencl
module withmean
,sqrt
andisnan
. - Add some more scalar types to GPU contexts
Xobjects version 0.1.31
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
Xobjects version 0.1.28
Changes:
- Implement
to_nparray
andto_json
and add suitable tests for xobjects. The methodto_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 astest_context
to the test. - Minor fixes of typos.
Full Changelog: v0.1.27...v0.1.28
Xobjects version 0.1.27
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
Xobjects version 0.1.25
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
Changes:
- Faster array initialisation
- Introduced
xobjects.get_a_buffer
function
Xobjects version 0.1.23
Changes:
- Rename of several methods
- Use
offset=0
as default of from_buffer.
Xobjects version 0.1.22
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.