Skip to content

refactor: harden CUDA backend and solver contracts - #486

Merged
KemengHuang merged 20 commits into
mainfrom
refactor-main
Aug 31, 2026
Merged

refactor: harden CUDA backend and solver contracts#486
KemengHuang merged 20 commits into
mainfrom
refactor-main

Conversation

@KemengHuang

Copy link
Copy Markdown
Member

Summary

  • harden CUDA backend loading, deterministic system topology, component boundaries, and reusable buffer/CUB workspaces
  • add scene-config contracts, test sharding, benchmark entrypoints, ADRs, and performance evidence
  • correct thin-shell reference weighting and full-thickness stretch/bending conventions
  • enable semi-implicit Newton termination by default with K_min = 6
  • synchronize the cloth-sample submodule and replace unsafe QR-SVD sign-copy calls with typed CUDA-safe arithmetic

Validation

  • Repository Contracts: 31/31
  • Core: 36 cases / 1005 assertions
  • CUDA sim_case: 95 cases / 14212 assertions
  • full XMake CUDA build and device-link: passed
  • full CMake CUDA build and device-link: passed
  • CUDA float Wilkinson-shift smoke on sm_120: passed
  • MkDocs + Doxygen build: passed

@KemengHuang
KemengHuang merged commit 1109a61 into main Aug 31, 2026
7 of 22 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.

1 participant