CLBlast: The tuned OpenCL BLAS library

CLBlast is a modern, lightweight, performant and tunable OpenCL BLAS library written in C++11. It is designed to leverage the full performance potential of a wide variety of OpenCL devices from different vendors, including desktop and laptop GPUs, embedded GPUs, and other accelerators. CLBlast implements BLAS routines: basic linear algebra subprograms operating on vectors and matrices.

This preview-version is not yet tuned for all OpenCL devices: out-of-the-box performance on some devices might be poor. See the README on GitHub for a list of already tuned devices and instructions on how to tune yourself and contribute to future releases of the CLBlast library.

View on CLBlast on GitHub.

Why CLBlast and not clBLAS or cuBLAS?

Use CLBlast instead of clBLAS:
  1. When you care about achieving maximum performance.
  2. When you want to be able to inspect the BLAS kernels or easily customize them to your needs.
  3. When you run on exotic OpenCL devices for which you need to tune yourself.
  4. When you are still running on OpenCL 1.1 hardware.
  5. When you value an organized and modern C++ codebase.
  6. When you target Intel CPUs and GPUs or embedded devices
  7. When you can benefit from the increased performance of half-precision fp16 data-types.
Use CLBlast instead of cuBLAS:
  1. When you want your code to run on devices other than NVIDIA CUDA-enabled GPUs.
  2. When you want to tune for a specific configuration (e.g. rectangular matrix-sizes).
  3. When you sleep better if you know that the library you use is open-source.
  4. When you are using OpenCL rather than CUDA.
When not to use CLBlast:
  1. When you run on NVIDIA's CUDA-enabled GPUs only and can benefit from cuBLAS's assembly-level tuned kernels.

Benchmark results

Several benchmarks have been performed using CLBlast's clients and benchmarking script. Below are resuls for various devices:
  1. - Main page
  2. - GeForce GTX750Ti
  3. - Titan X (Pascal)
  4. - Radeon M370X
  5. - Iris Pro 5100
  6. - Skylake ULT GT2
  7. - Core i5-6200U


April 23, 2017: Added benchmark results

An initial set of benchmark results for 6 devices was uploaded, see the navigation links on the left.

April 20, 2017: Launch of this page

First version of this page is created. In the future it will host performance benchmark results for the CLBlast library on various devices.
CLBlast links:

- Main page
- GeForce GTX750Ti
- Titan X (Pascal)
- Radeon M370X
- Iris Pro 5100
- Skylake ULT GT2
- Core i5-6200U