Skip to content

Complete multi-platform validation for numx_cholesky_decompose#85

Open
abkhoshk wants to merge 1 commit into
devfrom
Cholesky-multi-platform-validation
Open

Complete multi-platform validation for numx_cholesky_decompose#85
abkhoshk wants to merge 1 commit into
devfrom
Cholesky-multi-platform-validation

Conversation

@abkhoshk

Copy link
Copy Markdown
Collaborator

Summary

Completes the multi-platform validation sweep for numx_cholesky_decompose (originally added in #51), bringing it in line with every other function in linalg. Previously only one platform had been validated; this PR adds results for Windows x86/x64, Linux x86 (32-bit)/x86-64 (WSL2), Raspberry Pi 4 (armhf), and ESP32-S3.

Changes

  • Adds a new self-contained example project at examples/esp32_cholesky_test/ (mirroring examples/esp32_ntt_test/), since the on-device ESP32 test harness had no Cholesky coverage. It links src/linalg.c directly and runs the six existing test cases plus a benchmark loop over UART.
  • Adds validation/prompts/cholesky_rpi_esp32_validation_prompt.md, a self-contained task prompt documenting the workflow used to validate on the Raspberry Pi 4 and ESP32-S3.
  • Appends six new platform sections to validation/results/linalg/cholesky_decompose.md: Windows x86 (float32), Windows x64 (float64), Linux x86 WSL2 (float32), Linux x86-64 WSL2 (float64), Raspberry Pi 4 armhf (float32), and ESP32-S3 (float32). Existing sections are left untouched; the old "Remaining validation" note is replaced with a completion summary.

Results

All 6 Cholesky test cases and the corresponding validation-runner checks pass on every platform (337/337 Unity tests on the desktop/Pi builds, 23/23 assertions on the ESP32 harness), with zero failures.

Add self-contained ESP32-S3 test for Cholesky decomposition.
Update validation results and prompt for multi-platform Cholesky.
@abkhoshk abkhoshk added this to the RISC-V hardware validation milestone Jul 12, 2026
@abkhoshk
abkhoshk requested a review from erfanjazebnikoo July 12, 2026 00:42
@abkhoshk abkhoshk self-assigned this Jul 12, 2026
@abkhoshk abkhoshk added the documentation Improvements or additions to documentation label Jul 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant