viennacl
« Back to VersTracker
Description:
Linear algebra library for many-core architectures and multi-core CPUs
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: linear-algebra gpu opencl scientific-computing c++ mathematics
Install: brew install viennacl
About:
ViennaCL is a header-only C++ linear algebra library leveraging OpenCL and OpenMP for high-performance computations on GPUs and multi-core CPUs. It provides a high-level interface for solving sparse linear systems, dense matrix operations, and eigenvalue problems without requiring deep hardware expertise. The library is optimized for large-scale scientific simulations and mathematical modeling.
Key Features:
  • Support for OpenCL-enabled GPUs and multi-core CPUs via OpenMP
  • BLAS and LAPACK-like functionality for sparse and dense matrices
  • No installation required (header-only library)
  • Integration with CUDA for NVIDIA hardware support
Use Cases:
  • Large-scale scientific computing and simulations
  • Accelerated linear algebra processing in machine learning pipelines
  • Finite element method (FEM) and partial differential equation (PDE) solvers
Alternatives:
  • Eigen – Eigen is CPU-only but offers highly optimized scalar operations and expression templates
  • Armadillo – Armadillo provides a MATLAB-like syntax but lacks native GPU acceleration
  • ArrayFire – ArrayFire offers broader GPU support but is proprietary with a commercial license
Version History
Detected Version Rev Change Commit
Sep 12, 2025 6:18am 1 VERSION_BUMP e074db9a
Dec 21, 2024 12:04pm 1 VERSION_BUMP f414f24f