Implementation of the C++ API for Batch BLAS