Skip to content

Release/0.7.3 - #194

Merged
szymonlopaciuk merged 15 commits into
mainfrom
release/0.7.3
Nov 9, 2026
Merged

szymonlopaciuk merged 15 commits into
mainfrom
release/0.7.3

Conversation

@szymonlopaciuk

@szymonlopaciuk szymonlopaciuk commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Changes:

  • Allow selecting the CUDA compute capability used to compile kernels in ContextCupy. Set it per context with xo.ContextCupy(cuda_compute_capability=90), globally with xo.settings.cuda_compute_capability, or with the XSUITE_CUDA_COMPUTE_CAPABILITY environment variable. By default it is still inferred from the active GPU. (Cuda compute #186)
  • Avoid recompiling temporary CUDA modules every time they are loaded. (Cuda compute #186)
  • Add an _on_context_change(old_context, new_context) hook to HybridClass. It is called when the backing xobject is created in, moved to, or copied to a context. Subclasses can use it for context-specific setup (for example the CUDA stack size for Xcoll's EverestCrystal) instead of repeating that setup in __init__, move() and copy(). (Context change hook #187)

@szymonlopaciuk
szymonlopaciuk merged commit 8f8c8f1 into main Nov 9, 2026
2 checks passed
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.

3 participants