How sky0427-coduck/astra works
Astra is a command-line SIMD vector and matrix analysis tool. Its principal workflow starts with a user selecting the simd command, CSV input, and operation; the CLI dispatches to Tesseract, which reads and parses the input, converts data into AoSoA batches, invokes a vector or matrix kernel, and prints a timing report. The repository also exposes terminal styling and engine information, and contains a 3D renderer and platform-specific assembly. Assembly dispatch and renderer wiring are not established by the sampled excerpts, so those links are omitted or marked unverified.
Main entry points: tesseract.cpp CSV analyzer · main.cpp Command dispatcher · tesseract.hpp SIMD API and layouts · prettycli.hpp Terminal UI
Components 16
CLI and terminal
- Command dispatcher
main.cpp - Terminal UI
include/prettycli.hpp - Engine info
main.cpp
SIMD analysis
- CSV analyzer
src/tesseract/tesseract.cpp - CSV input
- AoSoA conversion
src/tesseract/tesseract.cpp - Vector operations
src/tesseract/tesseract.cpp - Matrix operations
src/tesseract/tesseract.cpp - Timing report
src/tesseract/tesseract.cpp
Compute and rendering
- SIMD API and layouts
include/tesseract.hpp - x86-64 kernels
src/tesseract - ARM64 kernels
src/tesseract/arm64 - 3D renderer
src/tesseract/3Drenderer.cpp - x86-64 renderer
src/tesseract - ARM64 renderer
src/tesseract/arm64
Other components
- CLI user
Connections 13
- CLI user → Command dispatcher: runs command
main.cpp - Command dispatcher → Terminal UI: initializes and draws
main.cpp - Command dispatcher → Engine info: routes info
main.cpp - Command dispatcher → CSV analyzer: dispatches SIMD
main.cpp - CSV analyzer → CSV input: reads CSV
src/tesseract/tesseract.cpp - CSV analyzer → AoSoA conversion: converts batches
src/tesseract/tesseract.cpp - CSV analyzer → Vector operations: dispatches vector
src/tesseract/tesseract.cpp - CSV analyzer → Matrix operations: dispatches matrix
src/tesseract/tesseract.cpp - CSV analyzer → Timing report: prints timings
src/tesseract/tesseract.cpp - Vector operations → SIMD API and layouts: uses declared API
include/tesseract.hpp - Matrix operations → SIMD API and layouts: uses declared API
include/tesseract.hpp - SIMD API and layouts → x86-64 kernels
src/tesseract/tesseract.cpp - SIMD API and layouts → ARM64 kernels