CLBlast can be used as a direct replacement for libblas.so.3 libcblas.so.3 and allows doing these calculations on the GPU.