Skip to content

Misc bugfixes and missing functionality in Xobjects#169

Open
szymonlopaciuk wants to merge 9 commits intoxsuite:mainfrom
szymonlopaciuk:serialise-multidim-arys
Open

Misc bugfixes and missing functionality in Xobjects#169
szymonlopaciuk wants to merge 9 commits intoxsuite:mainfrom
szymonlopaciuk:serialise-multidim-arys

Conversation

@szymonlopaciuk
Copy link
Copy Markdown
Contributor

@szymonlopaciuk szymonlopaciuk commented Mar 17, 2026

Description

  • Implement _to_dict() on multi-dimensional arrays
  • Correctly serialise and deserialise UnionRef fields in structs (may lead to copies though)
  • Allow passing None to xo.Arg(..., pointer=True) arguments: these will evaluate to NULL
  • Add ThisClass support to Struct kernel arguments

Checklist

Mandatory:

  • I have added tests to cover my changes
  • All the tests are passing, including my new ones
  • I described my changes in this PR description

Optional:

  • The code I wrote follows good style practices (see PEP 8 and PEP 20).
  • I have updated the docs in relation to my changes, if applicable
  • I have tested also GPU contexts

@szymonlopaciuk szymonlopaciuk force-pushed the serialise-multidim-arys branch from c6aab48 to 5229028 Compare March 26, 2026 15:52
@szymonlopaciuk szymonlopaciuk changed the title Correctly serialise multidimensional arrays Misc bugfixes and missing functionality in Xobjects Mar 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant