Skip to content

Fix module_hs sparse output controls#7510

Open
goodchong wants to merge 3 commits into
deepmodeling:developfrom
goodchong:inandout
Open

Fix module_hs sparse output controls#7510
goodchong wants to merge 3 commits into
deepmodeling:developfrom
goodchong:inandout

Conversation

@goodchong

Copy link
Copy Markdown
Collaborator

Summary

  • stabilize module_hs sparse CSR threshold counting and r(R) header generation
  • wire out_mat_t/dh/ds/r precision options into sparse writers while preserving legacy defaults
  • add regression coverage for dH/dS sparse CSR, SOC directions, r(R) finalization, and single-R precision

Tests

  • git diff --check
  • g++ -std=c++17 -Isource -c source/source_io/module_hs/rr_sparse_writer.cpp -o /tmp/rr_sparse_writer.o
  • g++ -std=c++17 -Isource -c source/source_io/module_hs/single_R_io.cpp -o /tmp/single_R_io.o

Full CMake targets were not run because this checkout has no existing build directory.

@goodchong goodchong requested a review from mohanchen June 23, 2026 05:31
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