Skip to main content

Module validation

Module validation 

Source
Expand description

Validation utilities for comparing CPU and GPU results.

Provides tools to verify that GPU-computed matrices match their CPU reference implementations within acceptable tolerances.

Structs§

ComparisonResult
Result of a matrix comparison.

Functions§

check_positive_definite
Check that a matrix is positive definite (all eigenvalues > 0).
check_symmetry
Check that a matrix is symmetric within some tolerance.
compare_matrices
Compare two matrices element-wise with configurable tolerance.
validate_overlap_matrix
Verify overlap matrix properties: symmetric, positive definite, diagonal > 0.