MAGMA Downloads

MAGMA provides implementations for CUDA, Intel Xeon Phi, and OpenCL. The latest releases are MAGMA 2.5.2, MAGMA MIC 1.4.0, and clMAGMA 1.3, respectively. The libraries available for download are listed below in the order of their release dates.

Please use any of the following publications to reference MAGMA.

MAGMA Bitbucket repository:


MAGMA 2.5.2

MAGMA 2.5.2 is now released. Updates include:

  • New routine: magmablas_hgemm_batched for fixed size batched matrix multiplication in FP16 using the Tensor Cores.
    The routine does not currently support pre-Volta GPUs.
    The routine outperforms cuBLAS for sizes less than 100, as well as for general sizes that are not multiple of 8.
    The kernel is tuned for the notrans-notrans case only.
    Comprehensive tuning is planned in future releases;
  • Fix magmablas_?gemm_vbatched routines to correctly handle batch sizes over 65535. The same fix is applied to vbatched syrk, herk, syr2k, her2k, symm, hemm, and trmm;
  • Fix a bug in the FP32 <-> FP16 conversion routines (magmablas_hlag2s and magmablas_slag2h). The bug used to cause a launch failure for very large matrices;
  • Fix a bug in batched LU factorization to avoind NaNs when singularity is ancountered;
  • Fix a bug in batched LU factorization to ensure that the first pivot is always returned even when multilpe pivots with the same absolute value are found;
  • Add Frobenius norm for general matrices
    (supported as option to magmablas_Xlange for X = 's', 'd', 'c', or 'z').
magma-2.5.2.tar.gz   Download View License

MagmaDNN 1.1

MagmaDNN 1.1 is now available. MagnaDNN provides HP data analytics and machine learning tools using MAGMA as its computational backend. Updates in this release include:

  • Bug fixes and performance improvements;
  • Distributed training;
  • Hyperparameter optimization framework improvements;
  • Benchmarks using MagmaDNN;
  • Performance comparisons, accuracy validations, etc. (w\ TensorFlow, Theano, and PyTorch).

More information on MagmaDNN 1.1 is given in this paper and presentation.

MagmaDNN's repository is on Bitbucket:

release-magmadnn-v1.1.tar.gz   Download View License


MAGMA MIC 1.4.0 is now available. This release provides implementations for MAGMA's one-sided (LU, QR, and Cholesky) and two-sided (Hessenberg, bi- and tridiagonal reductions) dense matrix factorizations, as well as linear and eigenproblem solver for Intel Xeon Phi Coprocessors. More information on the approach is given in this presentation.

magmamic-1.4.0.tar.gz   Download View License

clMAGMA 1.3

clMAGMA is an OpenCL port of MAGMA. It supports AMD GPUs. The clMAGMA library dependancies, in particular optimized GPU OpenCL BLAS and CPU optimized BLAS and LAPACK for AMD hardware, can be found in the AMD clMath Libraries (formerly APPML).

Included in the clMAGMA 1.3 release are routines for the following algorithms:

  • LU, QR, and Cholesky factorizations in both real and complex  arithmetic (single and double);
  • Linear and least squares solvers based on correspondingly the LU/Cholesky and QR factorizations in both real and complex  arithmetic (single and double);
  • Reductions to Hessenberg, bidiagonal, and tridiagonal forms using orthgonal similarity transformationsin both real and complex arithmetic (single and double);
  • Eigen and singular value problem solvers in both real and complex arithmetic (single and double);
  • Orthogonal transformation routines.
clmagma-1.3.0.tar.gz   Download View License


Copyright © 2020 The University of Tennessee. All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
· Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
· Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer listed in this license in the documentation and/or other materials provided with the distribution.
· Neither the name of the copyright holders nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

This software is provided by the copyright holders and contributors "as is" and any express or implied warranties, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed. in no event shall the copyright owner or contributors be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage.

Jan 29 2020 Admin Login