Skip to content

Refactor: remove dependence of Tensor for cg interface#7000

Merged
mohanchen merged 4 commits intodeepmodeling:developfrom
Cstandardlib:refactor/hsolver-cg
Mar 7, 2026
Merged

Refactor: remove dependence of Tensor for cg interface#7000
mohanchen merged 4 commits intodeepmodeling:developfrom
Cstandardlib:refactor/hsolver-cg

Conversation

@Cstandardlib
Copy link
Collaborator

@Cstandardlib Cstandardlib commented Mar 6, 2026

Linked Issue

Fix #6998, Part 1
Another PR is required to make interfaces uniform across hsolvers.

What's changed?

  • Now cg interface is the same style as dav, etc. so these can later be unified into a single hpsi_func, spsi_func.

Unit Tests and/or Case Tests for my changes

  • Unit Tests interface is changed according to new signature.

@mohanchen mohanchen added Refactor Refactor ABACUS codes GPU & DCU & HPC GPU and DCU and HPC related any issues labels Mar 7, 2026
@mohanchen mohanchen merged commit 51e2a78 into deepmodeling:develop Mar 7, 2026
15 checks passed
@Cstandardlib Cstandardlib deleted the refactor/hsolver-cg branch March 7, 2026 03:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

GPU & DCU & HPC GPU and DCU and HPC related any issues Refactor Refactor ABACUS codes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

refactor(hsolver): Unify hsolver interface functions to follow hpsi_func pattern

2 participants