Skip to content

Releases: vlang/vsl

v0.1.51: Pure V BLAS/LAPACK Benchmarks & Examples

28 Dec 07:08

Choose a tag to compare

VSL v0.1.51 Release Notes

🎉 Pure V BLAS/LAPACK Benchmarks & Examples

This release adds comprehensive benchmarks and examples showcasing VSL's high-performance pure V BLAS and LAPACK implementations.

✨ What's New

Performance Benchmark Suite

  • New benchmarks/ directory with comprehensive performance testing
    • blas_bench.v: Complete BLAS Level 1, 2, and 3 benchmarks
    • lapack_bench.v: LAPACK operation benchmarks (linear systems, factorizations, eigenvalues)
    • compare_backends.v: Direct comparison between pure V and C backends
    • util/benchmark_utils.v: Shared utilities for benchmark setup and reporting

New Examples

  • BLAS Examples:

    • examples/blas_basic_operations/: Demonstrates Level 1, 2, and 3 BLAS operations
    • examples/blas_performance_comparison/: Performance comparison examples
  • LAPACK Examples:

    • examples/lapack_linear_systems/: Solving linear systems with dgesv, dgetrf, dpotrf
    • examples/lapack_eigenvalue_problems/: Eigenvalue decomposition examples

Documentation Enhancements

  • Updated README.md: Prominent section highlighting pure V BLAS/LAPACK performance
  • Updated blas/README.md: Performance notes and stable status
  • Updated lapack/README.md: Performance notes and stable status
  • New docs/BACKEND_GUIDE.md: Comprehensive guide for choosing and configuring backends

Utility Modules

  • New util/matrix.v: Matrix creation, conversion, and utility functions
  • New util/benchmark.v: Benchmark helper functions

🚀 Key Features

  • Zero Dependencies: Pure V implementations require no external libraries
  • High Performance: Competitive performance with C backends
  • Comprehensive Benchmarks: Full benchmark suite for performance analysis
  • Rich Examples: Complete examples for common use cases
  • Better Documentation: Enhanced guides and API documentation

📊 Benchmark Results

Run benchmarks to see performance characteristics:

# BLAS benchmarks
v run benchmarks/blas_bench.v

# LAPACK benchmarks  
v run benchmarks/lapack_bench.v

# Compare backends
v run benchmarks/compare_backends.v

🔧 Usage

All benchmarks and examples use the public API (vsl.blas and vsl.lapack) instead of internal modules, making them perfect references for your own code.

📝 Changes Since v0.1.50

  • Added comprehensive benchmark suite
  • Added BLAS and LAPACK examples
  • Enhanced documentation with performance highlights
  • Added backend selection guide
  • Added utility modules for matrix operations and benchmarking

🙏 Acknowledgments

This release represents significant work in showcasing and documenting VSL's pure V BLAS/LAPACK implementations. Special thanks to all contributors who made this possible.


Full Changelog: v0.1.50...v0.1.51

VCL images are working

18 Feb 17:25
2f2bcc9

Choose a tag to compare

v0.1.50

Update docker-stable.yml

VSL tests passing with --prod

22 Oct 22:05

Choose a tag to compare

v0.1.47

Updated VSL version

Docker release

29 Aug 00:38

Choose a tag to compare

v0.1.46

Updated vsl version