mlx/tests
Arkar Min Aung 5875252f87 feat: Add comprehensive testing and documentation for Metal SVD
- Add comprehensive test suite (test_metal_svd.cpp):
  * Basic functionality tests
  * Input validation tests
  * Various matrix sizes and batch processing
  * Reconstruction accuracy verification
  * Orthogonality property checks
  * Special matrices (identity, zero, diagonal)
  * Performance characteristic tests

- Add detailed implementation documentation:
  * Algorithm description and complexity analysis
  * Usage examples and API documentation
  * Performance benchmarks and characteristics
  * Implementation details and file structure
  * Error handling and limitations
  * Contributing guidelines

- Enhance error handling and robustness:
  * Improved input validation with detailed error messages
  * Memory allocation error handling
  * NaN/Inf input detection
  * Performance logging for large matrices

- Integrate tests into CMake build system

This completes the Metal SVD implementation with production-ready
testing and documentation.
2025-06-14 17:05:10 +10:00
..
allocator_tests.cpp Metal validation (#432) 2024-01-11 11:57:24 -08:00
arg_reduce_tests.cpp Use int64 stride everywhere (#1671) 2024-12-09 11:09:02 -08:00
array_tests.cpp Use int64 stride everywhere (#1671) 2024-12-09 11:09:02 -08:00
autograd_tests.cpp Fix some complex vjps (#2178) 2025-05-14 23:37:12 -07:00
blas_tests.cpp Use int64 stride everywhere (#1671) 2024-12-09 11:09:02 -08:00
CMakeLists.txt feat: Add comprehensive testing and documentation for Metal SVD 2025-06-14 17:05:10 +10:00
compile_tests.cpp fix compile merging (#2150) 2025-05-02 15:08:50 -07:00
creations_tests.cpp Remove test of converting negative float to uint (#2048) 2025-04-06 06:21:46 -07:00
custom_vjp_tests.cpp Update pre-commit hooks (#984) 2024-04-11 07:27:53 -07:00
device_tests.cpp copyright + ack 2023-11-30 11:12:53 -08:00
einsum_tests.cpp Einsum (#1269) 2024-07-25 09:36:44 -07:00
eval_tests.cpp Shared events for synchronization + async eval (#998) 2024-04-17 06:16:02 -07:00
export_import_tests.cpp Use unordered map for kwargs in export/import (#2087) 2025-04-21 07:17:22 -07:00
fft_tests.cpp Fix some complex vjps (#2178) 2025-05-14 23:37:12 -07:00
gpu_tests.cpp Remove metal-only tests (#2139) 2025-04-30 09:08:39 -07:00
linalg_tests.cpp Adds nuclear norm support (#1894) 2025-03-04 13:26:02 -08:00
load_tests.cpp Use int64 stride everywhere (#1671) 2024-12-09 11:09:02 -08:00
ops_tests.cpp Fix out-of-bounds default value in logsumexp/softmax (#2213) 2025-05-21 07:25:16 -07:00
random_tests.cpp Resolved ambiguity in mlx::core::take_along_axis (#1822) 2025-02-04 06:06:17 -08:00
scheduler_tests.cpp redesign for faster cpu/gpu synch (#1869) 2025-03-06 19:23:38 -08:00
test_metal_svd.cpp feat: Add comprehensive testing and documentation for Metal SVD 2025-06-14 17:05:10 +10:00
tests.cpp copyright + ack 2023-11-30 11:12:53 -08:00
utils_tests.cpp iinfo and scalar overflow detection (#2009) 2025-03-27 19:54:56 -07:00
vmap_tests.cpp Adds nuclear norm support (#1894) 2025-03-04 13:26:02 -08:00