clblast_tuner_routine_xgemm command not found

In this troubleshooting guide we learn how to fix clblast_tuner_routine_xgemm command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

clblast_tuner_routine_xgemm: command not found

or when using sudo you get the following error message

sudo: clblast_tuner_routine_xgemm: command not found

Solutions to clblast_tuner_routine_xgemm: command not found

How To Fix clblast_tuner_routine_xgemm: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu clblast_tuner_routine_xgemm is provided by clblast-utils package.

clblast-utils is:

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 package provides utilities for tuning the implementation for specific hardware.

To fix this problem, we can install more using the command below.

sudo apt-get -y install clblast-utils

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install clblast-utils.

sudo apt -y install clblast-utils

Or if you have aptitude installed you can use the following command.

sudo aptitude install clblast-utils

Summary

In this tutorial we learn how to fix clblast_tuner_routine_xgemm command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.