Skip to content

Add Cupy support#44

Open
max-models wants to merge 19 commits intodevel-tinyfrom
add-xp-backend
Open

Add Cupy support#44
max-models wants to merge 19 commits intodevel-tinyfrom
add-xp-backend

Conversation

@max-models
Copy link
Copy Markdown
Member

No description provided.

@max-models max-models changed the title Add xp backend and enable Cupy arrays Add Cupy support Oct 22, 2025
@max-models
Copy link
Copy Markdown
Member Author

@copilot resolve the merge conflicts in this pull request

# Conflicts:
#	feectools/core/bsplines.py
#	feectools/ddm/blocking_data_exchanger.py
#	feectools/ddm/tests/test_cart_1d.py
#	feectools/ddm/tests/test_cart_2d.py
#	feectools/ddm/tests/test_cart_3d.py
#	feectools/feec/global_geometric_projectors.py
#	feectools/fem/tensor.py
#	feectools/linalg/basic.py

Co-authored-by: max-models <[email protected]>
Copy link
Copy Markdown

Copilot AI commented May 5, 2026

@copilot resolve the merge conflicts in this pull request

Resolved all merge conflicts in commit c322ee3. The 8 conflicting files were resolved by keeping the cunumpy/array_backend imports from our branch while adopting the feectools package paths from devel-tiny. Notable changes:

  • feectools/fem/tensor.py: adopted the improved MPI-based global grid reconstruction (uses gathered_pcoords from all ranks rather than recomputing on root) and adds proper fig/ax initialization
  • feectools/linalg/basic.py: removed duplicate toarray and fixed np.zerosxp.zeros in SumLinearOperator.toarray
  • feectools/feec/global_geometric_projectors.py: added BlockVector to imports (added in devel-tiny)

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.

2 participants